Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2017-11-08, 01:41:33

Author Topic: domains are not working  (Read 1065 times)

0 Members and 1 Guest are viewing this topic.

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
domains are not working
« on: 2015-10-08, 02:56:29 »
Hello.
I've to restart httpd after adding a new domain or sub-domain !
how to fix it please?
Thank You for your efforts MR :)

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: domains are not working
« Reply #1 on: 2015-10-08, 04:56:50 »
Inform here 'sh /script/sysinfo'.

If using 'apache', try 'yum reinstall httpd* -y; sh /script/restart-web -y'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: domains are not working
« Reply #2 on: 2015-10-08, 13:08:30 »
Thanks for help
It still not working
>>>
[root@vps ~]# yum reinstall httpd* -y; sh /script/restart-web -y
Loaded plugins: fastestmirror, priorities, protectbase, replace
Setting up Reinstall Process
Loading mirror speeds from cached hostfile
 * base: ftp.usf.edu
 * extras: ftp.usf.edu
 * mratwork-epel: reflector.westga.edu
 * mratwork-ius-stable: iad.mirror.rackspace.com
 * rpmforge: mirror.us.leaseweb.net
 * updates: ftp.usf.edu
Excluding Packages from MRatWork - Extra Packages for EL 5 - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (archive) - arch
Finished
Excluding Packages from MRatWork - IUS Community Packages for EL 5 (stable) - arch
Finished
0 packages excluded due to repository protections
Resolving Dependencies
--> Running transaction check
---> Package httpd.i386 0:2.2.31-1.mr.el5 set to be updated
---> Package httpd-tools.i386 0:2.2.31-1.mr.el5 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

================================================================================
 Package       Arch   Version             Repository                       Size
================================================================================
Reinstalling:
 httpd         i386   2.2.31-1.mr.el5     mratwork-release-version-arch   1.3 M
 httpd-tools   i386   2.2.31-1.mr.el5     mratwork-release-version-arch    69 k

Transaction Summary
================================================================================
Remove        0 Package(s)
Reinstall     2 Package(s)
Downgrade     0 Package(s)

Total download size: 1.4 M
Downloading Packages:
(1/2): httpd-tools-2.2.31-1.mr.el5.i386.rpm              |  69 kB     00:00
(2/2): httpd-2.2.31-1.mr.el5.i386.rpm                    | 1.3 MB     00:00
--------------------------------------------------------------------------------
Total                                           1.4 MB/s | 1.4 MB     00:00
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing     : httpd-tools                                              1/2
  Installing     : httpd                                                    2/2

Installed:
  httpd.i386 0:2.2.31-1.mr.el5        httpd-tools.i386 0:2.2.31-1.mr.el5

Complete!

Stopping php-fpm:                                          [  OK  ]
pkill to make sure stopped
Starting php-fpm:                                          [  OK  ]
-------------------------------------------------------------------

Stopping httpd:                                            [  OK  ]
Starting httpd:                                            [  OK  ]
-------------------------------------------------------------------

- For help, type '/script/restart-web [--help|-h]'
>>>

[root@vps ~]# sh /script/sysinfo

A. Kloxo-MR: 7.0.0.b-2015092401
   - Web: hiawatha-9.14.0-f.6.mr.el5
   - PHP: php54s-5.4.41-1.ius.el5 (cgi mode)
B. Plateform:
   - OS: CentOS release 5.11 (Final) i686
   - Hostname: vps.***
C. Services:
   1. MySQL: MariaDB-server-10.0.21-1
   2. PHP:
      - Branch: php54-cli-5.4.45-1.ius.el5
      - Used: --Use PHP Branch--
   3. Httpd: httpd-2.2.31-1.mr.el5
      - PHP Type: php-fpm_event
   4. Lighttpd: --uninstalled--
   5. Hiawatha: --unused--
   6. Nginx: --uninstalled--
   7. Cache: --uninstalled--
   8. Dns: bind-9.9.7-1.mr.el5
   9. Qmail: qmail-toaster-1.03-1.3.55.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el5
D. Memory:
                total       used       free     shared    buffers     cached
   Mem:           1024        494         530          0          0        335
   -/+ buffers/cache:        159        352
   Swap:          512         65        446
E. Disk Space:
   Filesystem            Size  Used Avail Use% Mounted on
   /dev/simfs            100G   18G   83G  18% /

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: domains are not working
« Reply #3 on: 2015-10-08, 13:50:36 »
Check your domain in http://intodns.com.

Better use 'nsd' instead 'bind' for dns because less memory usage with the same configure file format.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: domains are not working
« Reply #4 on: 2015-10-08, 14:32:56 »
it's not working with all domains and sub-domains
I tried with 21 domains !
also switched to 'nsd' with no luck
when I visit the added domain it shows this page instead of the content
>>>>


If you are seeing this page, it means that web has not been configured for this domain on this server.

This could be due to the following causes:
Kloxo has not restarted the web server yet after you added the domain. Please wait for the web server to restart.
 
The domain is pointing to the wrong Kloxo server. Ping the domain and make sure that the IP matches one of the IPaddress seen in admin home -> ipaddresses
 
If you are seeing this page when you try to access an IP like http://192.168.1.1, then that means that the IP has not yet been mapped to a domain. Go to client home -> ipaddresses -> ipaddress home -> domain config and map an IP to a domain.
 
Once you map an IP to a domain, then you have to make sure that the domain pings back to the same IP. Otherwise, if you try to access the domain, you will get this page. So IP -> domain.com should mean that domain.com pings to the same IP.
 
>>>>
Hope you can help :)
Thanks in advance

Online MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: domains are not working
« Reply #5 on: 2015-10-08, 15:28:52 »
What's errors in intodns.com for your domain?.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: domains are not working
« Reply #6 on: 2015-10-08, 15:35:29 »
I use cloudflare
www pointing to the server IP
* pointing to the server IP
domain.tld pointing to the server IP

but after restarting HTTPD the added domain started to work without any problem !
So. I think the problem is in httpd it self?
« Last Edit: 2015-10-08, 15:43:09 by medo.mine1 »

Offline medo.mine1

  • Junior Member
  • *
  • Posts: 47
  • Karma: +0/-0
    • View Profile
Re: domains are not working
« Reply #7 on: 2015-10-08, 15:53:09 »
Thanks MR
I got it fixed by runnung   again 'yum reinstall httpd* -y; sh /script/restart-web -y'.

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo
Click Here

Page created in 0.049 seconds with 18 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM