HI All ,
my joomla application is running 192.168.1.203 system in httpd sever,Operating system Fedora 14.
URL : http://192.168.1.203/joomla
I want redirect this url with some good name like , srinivas.walkingtree.in (it was created by dns server for ip 192.168.1.150).
my nginx,conf file .(nginx server = 192.168.1.150)
server {
listen 192.168.1.150:80;
server_name srinivas.walkingtree.in;
location / {
proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Forwarded-Server $host;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass http://192.168.1.203/joomla;
}
}
At first , When i access http://srinivas.walkingtree.in . This is working . If i click on any button (products), it is redirecting to http://192.168.1.203/joomla/products .
Please help me .