Hi Guy's
Is it possible to setup more than one Domain name on a sigle IP address.
As far as i know it is by using Non-IP Virtual Host.
Well i'll try to explain what i need. I have a IP address. 193.X.X.X and i
have a registered domain name. www.Mydomain.com to that IP address. What i
want is to be able to setup my IP address(193.X.X.X) as my primary domain
name and www.Mydomain.com as my second. So when you type in www.Mydomain.com
you get one web site and when you type in my IP address you get my main
site.
I'm using NameVirtualHost with my IP address
NameVirtualHost 193.X.X.X
<VirtualHost 193.X.X.X>
ServerName 193.X.X.X
DocumentRoot /home/waynec/html
</VirtualHost>
<VirtualHost 193.X.X.X>
ServerName www.Mydomain.com
DocumentRoot /home/Mydomain.com
</VirtualHost>
I've set SeverName the same as my IPaddress
ServerName 193.X.X.X
and i've got Listen to the same IP address.
I''ve read the how-to on this and i'm still really confused.
Would anybody be able to help me.
Wayne C.
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!