Answer the question
In order to leave comments, you need to log in
Safari remembered the old ip and lies (puts) on the virtualhost, how to fix it?
Added two new domains to the hosting, both point to the same directory, set up virtualhosts
first
<VirtualHost *:80>
DocumentRoot "/home/user/public_html/website/"
ServerName www.newdomen.org
ServerAlias newdomen.org
<Directory />
AllowOverride All
Options -Indexes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/home/user/public_html/website/"
ServerName www.newdomen.com
ServerAlias newdomen.com
<Directory />
AllowOverride All
Options -Indexes
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question