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.

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:
    1
    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:
    18
  3. Ianta

    Ianta Registered

    Joined:
    Dec 13, 2007
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    When i create a new account, i use alway domainname.it format
     
Loading...

Share This Page