[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SLUG] Virtual hosts on a dynamic IP



With the recent talks on virtual hosts I decided to give them a go..


using the example given in an email of :

Listen 1.1.1.1:80


NameVirtualHost 1.1.1.1

<VirtualHost 1.1.1.1]>
	ServerName nameone.com.au
</VirtualHost>

<VirtualHost 1.1.1.1>
	ServerName nametwo.com.au
</VirtualHost>

(changing ip's and adding relevant info like document root etc into each 
virt host)

I can get it to work beautifully.. The problem is, being on a dialup with a 
dynamic ip system it's rather hard to keep updating the ip and restarting 
the server. I have seen an example where you can use a 
alpha.betical.host.name and it will work.. the only problem is.. mine 
doesn't work. I have even tried the example on the apache site where they 
use names only but the problem is that it just uses the virtual host for 
everything, even when you type in the original server name.. I can create a 
virtual host with the servername and it get's ignored, still prefering the 
first virtual host listed..

Help..

Thanks,

Paul

--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to slug-request@nospam.slug.org.au with
unsubscribe in the text