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!

ww instead of www issues

Discussion in 'General Discussion' started by JeremyL, Dec 3, 2001.

  1. JeremyL

    JeremyL Well-Known Member

    Aug 10, 2001
    Likes Received:
    Trophy Points:
    For some reason when I type in instead of it goes to which is the first domain added to the server and the main domain on that shared IP.

    I would think it would just give a 404 since I don\'t have a ww subdomain. What would I change to fix this?
  2. feanor

    feanor Well-Known Member

    Aug 13, 2001
    Likes Received:
    Trophy Points:
    Make a base config entry for your http server..... that way it won\'t just route everything that resolves to the base IP of your machine to the first virtual host.

    Like make a virtual host for SERVER.HOSTNAME.NET (that comes before all the other ones). document root to /web/http_base or something and just touch a blank index.html in there. Make sure you set it up WITH the base IP of the server in the virtual host entry, don\'t use a name.
    (DocumentRoot /web/http_base)

    And then put stuff around it so nobody else kills it / removes it.... like WARNING THINGS

    ######### TOUCH AND DIE

    etc. :P
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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