2+ domain names pointing to 1 virtual server?

Webmin
2013-02-21
2013-05-21
  • Maurelius747

    Maurelius747 - 2013-02-21

    Is it possible to point more than one domain name to a single virtual server. I know I can do this with the first virtual server (which becomes the default).

    I also need to do it with other virtual servers (not in the number one place in the Apache file) by specifying a domain name.

    I'd really appreciate your help with this. Struggling with this for some time.

     
  • d elleray

    d elleray - 2013-02-21

    I'm not sure what you want to do..
    but if you want an apache virtual server say www.example.com to server up the same website using a different name say www.another.com then you can do that with the normal ServerAlias directive

    so the apache config would be

    [b]ServerName [/b]www.example.com
    [b]ServerAlias [/b]www.another.com
    

    d.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks