Thread: Redirection
View Single Post
  #2   (View Single Post)  
Old 11th July 2008
18Googol2's Avatar
18Googol2 18Googol2 is offline
Real Name: whoami
Spam Deminer
 
Join Date: Apr 2008
Location: pwd
Posts: 283
Default

Quote:
Originally Posted by c0mrade View Post
Hi all,

I just added panel.komentari.info to my /etc/named.conf and it works as it should it points to my ip. Now my questions is .. if I wanted to add redirection to that hostname what should I do? ex: when you type in your browser panel.komentari.info that it redirects you to -> google.com and not my default apache website .. thank you
Put this line in your apache config file, or panel.komentari.info virtual host file:

Redirect / "http://google.com"
Reply With Quote