PDA

View Full Version : [ubuntu] multi ip with mutli website



alan889999
January 16th, 2011, 06:49 AM
Hi everyone

Just need some help here

I rent a server with 7 ip given. And i also want to host 7 website with 7 domain name in it

I wish to assign each website with an ip address. is it possible to do that ?

When I do

<VirtualHost 192.1.1.123:80>

<VirtualHost 192.1.1.124:80>

<VirtualHost 192.1.1.125:80>

I type the domain can't go to the web site

something wrong

James78
January 16th, 2011, 09:08 AM
Try...

NameVirtualHost 192.1.1.123
NameVirtualHost 192.1.1.124
NameVirtualHost 192.1.1.125

<VirtualHost *:80>