Help - Search - Members - Calendar
Full Version: http:// doesn't work, http://www does.
The Planet Forums > Control Panels > cPanel/WHM
jaredweb
although I'm good with DNS, something has slipped by me. Perhaps some of you pros can help me with this.

All of the sudden, when i goto http://splitserver.com a weird Cpanel page comes up saying that there is no domain there.

If you goto http://www.splitserver.com it loads fine.

There is a CNAME record for www in it's dns zone. It looks perfect to me.

Any help would be much appreciated!
Myce
I have exactly the same problem, but in reverse. What's really interesting is that I deleted the domain and readded it because, at first, mydomain.com did not work when www.mydomain.com did work! I'm wondering if this isn't a problem with WHM 8.4.0 cPanel 8.4.0-S92 since I have not had this problem previously (btw, I'm doing automatic, stable tree updates). I restarted BIND and Apache, but the problem still exists (and httpd.conf looks okay). Any ideas, anyone???
Myce
Well, now they're both working! Somebody must've done something!
jaredweb
somebody? How many people have root access to your server lol.
Myce
"somebody" is a mystery; no one has root access except me! I have no explanation why the www. server alias is now working - it didn't all afternoon and nothing has been changed by me!
Jemshi
QUOTE
Originally posted by jaredweb
although I'm good with DNS, something has slipped by me. Perhaps some of you pros can help me with this.  

All of the sudden, when i goto http://splitserver.com a weird Cpanel page comes up saying that there is no domain there.

If you goto http://www.splitserver.com it loads fine.  

There is a CNAME record for www in it's dns zone. It looks perfect to me.

Any help would be much appreciated!


check the /etc/named.conf for multiple entries for the domain with and without www.
faldran
Check httpd.conf, usually a server alias is missing...
jaredweb
I've looked around, and still no idea...

/var/named/splitserver.com.db

******************
; Modified by Web Host Manager
; Zone File for splitserver.com
@ 14400 IN SOA ns1.splitserver.com. slush.splitserver.com. (
1059056758
28800
7200
3600000
86400
)

splitserver.com. 14400 IN NS ns1.splitserver.com.
splitserver.com. 14400 IN NS ns2.splitserver.com.
splitserver.com. 14400 IN A 66.98.136.75

localhost.splitserver.com. 14400 IN A 127.0.0.1

splitserver.com. 14400 IN MX 0 splitserver.com.

mail 14400 IN CNAME splitserver.com.
www 14400 IN CNAME splitserver.com.
ftp 14400 IN A 66.98.136.75
ns1 14400 IN A 66.98.136.181
ns2 14400 IN A 66.98.136.182
slush 14400 IN A 66.98.136.75

*******************************************

and then the entry from httpd.conf

*******************************************


ServerAlias www.splitserver.com splitserver.com
ServerAdmin sales@splitserver.com
DocumentRoot /home/split/public_html
BytesLog domlogs/splitserver.com-bytes_log
ServerName www.splitserver.com
User split
Group split
CustomLog domlogs/splitserver.com combined
Options -ExecCGI -Includes
ScriptAlias /cgi-bin/ /home/split/public_html/cgi-bin/


******************************************

can't seem to figure this out still. Thanks for any help....
dervisoglu
I have a couple of domains that i have problem with

I guess a DNS probelm

when i write http://domain.com everthing is ok page loads successfully
But when go and write http://www.domain.com it does not work

ANy advice will be appriciated.

index.html is there the whole site is there and working.
jaredweb
I just sent a ticket to cpanel (visit cpanel.net and then click submit ticket). Unfortunately they didn't tell me how they fixed it, but hey atleast it works now.

If you want to try something yourself, look through http.conf for the entry for that domain and make sure everything is there.

Also check the domain.com.db file (replace with yourdomain.suffix) to see that there is a WWW cname entry there.
dervisoglu
FAIL Nameserver name validity ERROR: One or more of the NS records that your nameservers report are invalid:

. is not a valid host name

it says "." is not valid host

what can i do any advice will be appriciated
jaredweb
without looking at your server myself I could really tell you. Do you want to email me with some more info so I can look into it for you?
jeffbkane
I realize I'm coming in late on this discussion, but I was looking for something else and stumbled on this thread.

I'm not sure what was making you go to that cPanel error page, but I can tell you where it lives...

/usr/local/apache/htdocs/index.html

I'm guessing that cPanel put a mistyped alias in your httpd.conf file. Or somehow an automated update reverted you back to the default document root setting for the server (which is that directory).

Anyhow... thought you may want to know.
dervisoglu
thnx all I wrote a ticket to cpanel and it fxed.
vivo2341
Just to follow up this, this issue has happened to me quite a few times since going from Ensim to Cpanel and it is usually with something being off in the sites named file, for example the CNAME for 'www' did not have a '.' period at the end of domain.com on that line which caused the issue and can work the same vice versa etc.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.