Hi,
I'm about to migrate from IP based to name based virtual hosting - oh, hey, that's in the header already ;-)
This is for ease of maintenance and releasing some IP addresses.
does anyone have any special tips I should follow to avoid DNS caching troubles?
Looking at the advice on the Apache web site, where they have an example going the reverse way, I should be able to add the main IP address I'll be using for all the name based hosts, to the old different IP address currently used for the vhosts.
This will cover the situation until I'm sure DNS has updated across the web. Is this right?
ie previously (not real IP addresses!)
For example, main server running on 192.168.0.1
<VirtualHost 192.168.0.2>
etc
</VirtualHost>
becomes
<VirtualHost 192.168.0.2 192.168.0.1>
etc
</VirtualHost>
Am I missing something obvious?
Thanks,
Alun
I'm about to migrate from IP based to name based virtual hosting - oh, hey, that's in the header already ;-)
This is for ease of maintenance and releasing some IP addresses.
does anyone have any special tips I should follow to avoid DNS caching troubles?
Looking at the advice on the Apache web site, where they have an example going the reverse way, I should be able to add the main IP address I'll be using for all the name based hosts, to the old different IP address currently used for the vhosts.
This will cover the situation until I'm sure DNS has updated across the web. Is this right?
ie previously (not real IP addresses!)
For example, main server running on 192.168.0.1
<VirtualHost 192.168.0.2>
etc
</VirtualHost>
becomes
<VirtualHost 192.168.0.2 192.168.0.1>
etc
</VirtualHost>
Am I missing something obvious?
Thanks,
Alun