Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Dec 2007
    Location
    Italy
    Posts
    3

    Default Virtualhost configuration sometimes change

    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. #2
    Member
    Join Date
    Sep 2004
    Posts
    422

    Default

    When the ServerName is www.domainname.it it usually means the account was added in whm using www.domainname.it rather than domainname.it

  3. #3
    Registered User
    Join Date
    Dec 2007
    Location
    Italy
    Posts
    3

    Default

    When i create a new account, i use alway domainname.it format

Similar Threads & Tags
Similar threads

  1. IP Dedication prevents the Virtualhost IP change from functioning
    By johny_gjx in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-07-2011, 02:31 PM
  2. change ScriptAlias for one VirtualHost
    By danf in forum cPanel and WHM Discussions
    Replies: 11
    Last Post: 04-18-2008, 01:18 PM
  3. virtualhost users configuration
    By student in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 11-29-2007, 07:37 AM
  4. Problem!! [warn] VirtualHost x.x.x.x:80 overlaps with VirtualHost x.x.x.x:80
    By psnsupport in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 10-17-2005, 04:34 AM
  5. Change VirtualHost in httpd.conf as user
    By melban in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-09-2004, 11:41 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube