The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Need www. to get into site

Discussion in 'General Discussion' started by stevedo, May 15, 2004.

  1. stevedo

    stevedo Registered

    Joined:
    May 13, 2004
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    I have website that only opens properly when there is a www. preceding the name. (For example typing www.mydomain.com opens my site; where typing mydomain.com (without the www.) I get a cpanel page)
    Without the www. the page that opens says:

    There is no website configured at this address.
    You are seeing this page because there is nothing configured for the site you have requested. If you think you are seeing this page in error, please contact the site administrator or datacenter responsible for this site

    How do I fix this?
    Thanks for any help that anyone can offer, and forgive me if this is a simple problem anyone should know the answer to..
    Steve
     
  2. fwwebs

    fwwebs Well-Known Member

    Joined:
    Feb 16, 2004
    Messages:
    329
    Likes Received:
    0
    Trophy Points:
    16
    Check and make sure there is an A for mydomain.com and a C name record for www.mydomain.com . You can do this in 'Edit a DNS Zone' from WHM
     
  3. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    16
    Also, ensure that /etc/httpd/conf/httpd.conf has

    ServerAlias www.yourdomain.com yourdomain.com

    runtime directive in the respective VirtualHost entry:)
     
Loading...

Share This Page