Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    BANNED
    Join Date
    Sep 2004
    Posts
    55

    Default strange issue with domain

    I have a domain setup on the server "yourdomain.com" and been propagated fully to the server for 3 days already.

    The domain shows page not found. Checked named.conf and info was missing so I added it. Info was missing from localdomains.conf and added it. Still doesn't work even after restarting BIND.

    It shows another client's site! ???

    Any suggestions what may cause it?

  2. #2
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,313
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Not much info to help you out.
    Do you have other domains that are working?
    Are you running your own name servers?
    Have you checked the httpd.conf for errors?
    Post or PM some additional info so someone can check it out.

  3. #3
    BANNED
    Join Date
    Sep 2004
    Posts
    55

    Default

    OK

    localdomains
    named.conf
    dns zone in whm

    all fine

    DC has suggested perhaps it maybe a apache virtual host configuration file is "somehow missing a server alias" directive for the domain.

    How can I fix this?

    It is strange because it works as this

    http://www.domain.com
    www.domain.com

    but not http://domain.com (notice that only without www it won't work).

    Why? What file would I check to correct this? I'm pretty baffled by this

  4. #4
    Member sawbuck's Avatar
    Join Date
    Jan 2004
    Posts
    1,313
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Double check the "ServerAlias" parameter for the domain in /usr/local/apache/conf/httpd.conf. Should look like ServerAlias "domain" "www.domain"

  5. #5
    BANNED
    Join Date
    Sep 2004
    Posts
    55

    Default

    That line was missing and so I added it, restarted BIND and Apache - same issue:

    <VirtualHost 69.9.166.50>
    ServerAdmin webmaster@domain.com
    DocumentRoot /home/mommylaw/public_html
    BytesLog domlogs/domain.com-bytes_log
    <IfModule mod_userdir.c>
    UserDir disabled
    UserDir enabled mommylaw
    </IfModule>
    ServerName www.domain.com
    ServerAlias www.domain.com domain.com
    User mommylaw
    Group mommylaw
    CustomLog domlogs/domain.com combined
    ScriptAlias /cgi-bin/ /home/mommylaw/public_html/cgi-bin/
    </VirtualHost>


    Is something else missing? Anything else I can do?

  6. #6
    BANNED
    Join Date
    Sep 2004
    Posts
    55

    Default

    I'm sorry, it does work now.

    Thanks for your help

Similar Threads & Tags
Similar threads

  1. Strange Issue
    By Vinayak in forum E-mail Discussions
    Replies: 2
    Last Post: 09-09-2009, 10:51 AM
  2. VERY strange issue
    By ukdeveloper in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 12-19-2008, 12:41 AM
  3. Strange domain redirect issue? [moved]
    By Dried Graze in forum New User Questions
    Replies: 1
    Last Post: 03-17-2006, 10:39 AM
  4. Very Strange Issue
    By slice16 in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 09-20-2005, 08:25 AM
  5. very strange issue
    By chadi in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 08-15-2004, 08:43 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube