Help - Search - Members - Calendar
Full Version: Multiple hostnames pointing the same domain
The Planet Forums > System Administration > DNS Hosting
Simon
Hi all,

is it possible to have several hostnames pointing to the same domain. My idea is to have:

host1.example.org
host2.example.org
host3.example.org

pointing all of them to the base url of example.org.

Possible? Thanks in advance, Simon.
BrianF
Sure. If you're using Apache, just add a ServerAlias directive to your virtual host container.
For example:
ServerAlias host1.example.org
Simon
QUOTE (BrianF @ Feb 1 2007, 12:46 AM) *
Sure. If you're using Apache, just add a ServerAlias directive to your virtual host container.
For example:
ServerAlias host1.example.org


Thanks a lot Brian icon_wink.gif.

I´ve just added the hostnames to the dns and to the virtualhost conf and it worked icon_wink.gif.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.