Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

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:
    151
    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:
    166
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. bamasbest

    bamasbest Well-Known Member

    Joined:
    Jan 10, 2004
    Messages:
    531
    Likes Received:
    0
    Trophy Points:
    166
    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

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice