<VirtualHost 208.79.95.142:80>
ServerName www.byop.ws
ServerName *.byop.ws
Redirect permanent / http://byop.ws/
</VirtualHost>
<VirtualHost 208.79.95.142:80>
ServerName byop.ws
DocumentRoot /var/www/byop
</VirtualHost>
<VirtualHost [2607:f2f8:3180::11]:80>
ServerName www.byop.ws
ServerName *.byop.ws
Redirect permanent / http://byop.ws/
</VirtualHost>
<VirtualHost [2607:f2f8:3180::11]:80>
ServerName byop.ws
DocumentRoot /var/www/byop
</VirtualHost>
In my httpd.conf which should redirect www.byop.ws to byop.ws (along with all other subdomains). For whatever reason though, it redirects to the first domain on 142.

New Topic/Question
Reply


MultiQuote


|