It's more to do with using the same IP for the virtualhost... use the name instead. Here's the example from the Apache config. Make sure you include the NameVirtualHost directive...
NameVirtualHost *:80
<VirtualHost *:80>
ServerName www.domain.tld
ServerAlias domain.tld *.domain.tld
DocumentRoot /www/domain
</VirtualHost>
<VirtualHost *:80>
ServerName www.otherdomain.tld
DocumentRoot /www/otherdomain
</VirtualHost>
Main Topics
Browse All Topics





by: northcidePosted on 2007-08-10 at 10:39:36ID: 19671966
this has nothing to do with dns. all you need to do is either create a .htaccess file with a redirect to newsite.com/whatever.html.
ml-tips/we b-redirect ion.shtml
or just put an index file in the root of the old domains site directory and put a meta redirect for it to go to the new site...
this will outline your options in detail.
http://www.webweaver.nu/ht