Virtual Host Issues

Discussion in 'Installation/Configuration' started by TheITSGroup, Nov 16, 2009.

  1. TheITSGroup

    TheITSGroup New Member

    Here's my config and issue.

    Centos 5.4 installation per installation guide.

    I use DNSMadeEasy services. Only name server records are created with each virtual domain.

    I do not have web services for actual machine domain, only virtual hosts.

    If I browse 'domain1.com' I get to actual site pages.
    If I browse 'www.domain1.com' I go to Apache default page.

    I checked Apache log and had warning 'NameVirtualHost *:80 has no VirtualHosts'

    Another for port 443

    Per Apache WIKI I added:

    <VirtualHost *:80>
    ServerName svr222.domain1.com
    # Options and stuff defined here.
    </VirtualHost>

    Another for port 443

    Warning was gone but still the same with the website.

    It must be something simple that I am just over looking.

    Thanks for your help

    Dan
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    You have to enable the www auto subdomain in the site settings in ispconfig and remove the manual changes you did to the apache files.
     
  3. TheITSGroup

    TheITSGroup New Member

    Thanks

    Thanks Till,

    I thought it might be something simple.

    Are the warnings OK to ignore?

    Dan
     
  4. till

    till Super Moderator Staff Member ISPConfig Developer

    The warnings are ok.
     

Share This Page