Redirect Full Sub Domain to Another Domain
Posted By ariandita on July 3rd, 2013
In many case our Website redirect a full sub-domain to another sub-domain or maybe to another sub-domain in another domain, here’s how to redirect it by editting the apache2 configuration
[code language=”bash”]
<VirtualHost>
ServerName somechild.domain.com
Redirect permanent / http://morechild.anotherdomain.com
</VirtualHost>
[/code]
With those setting you’ve made a redirection to morechild.anotherdomain.com when there are requests to somechild.domain.com.
Happy Administer System……….
Similar Posts
Share
- How to Reset the MySQL Root Password on Unix Systems
- Just a Note : Reconfigure Exim4 MTA in Debian
- How to LSBize and init Script in Debian
Posted in Online Note for System Administrator
Comments 0