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!

Virtualhost configuration sometimes change

Discussion in 'General Discussion' started by Ianta, Dec 13, 2007.

  1. Ianta

    Ianta Registered

    Joined:
    Dec 13, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Italy
    When i create a new account, in the httpd.conf on virtualhost configuration sometimes the ServerName is www.domainname.it and Alias domainname.it and sometimes the ServerName is domainname.it and Alias www.domainname.it.

    In wich case this configuration change? How can know when the servername is with or without www? This is a little difference, but in php the $_SERVER['SERVER_NAME'] change!

    Can someone help me please?

    Thank's.
     
  2. DigitalN

    DigitalN Well-Known Member

    Joined:
    Sep 23, 2004
    Messages:
    420
    Likes Received:
    1
    Trophy Points:
    168
  3. Ianta

    Ianta Registered

    Joined:
    Dec 13, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Italy
    When i create a new account, i use alway domainname.it format
     
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