Welcome! Log In Create A New Profile

Advanced

Cloak a hostname

March 12, 2014 12:04AM
Is it possible assuming I have a domain and uri:

http://foo.bar/candy

To have the browser location still show http://foo.bar/candy but actually fetch the content from:

http://newdomain.com/candy

I.E. simply replace the host. Assume I have:

server {
listen 443;
server_name foo.bar;

root /srv/www/domains/foo.bar;
index index.html;

location / {

}
}

Thanks.
SubjectAuthorPosted

Cloak a hostname

justink101March 12, 2014 12:04AM

Re: Cloak a hostname

Reinis RozitisMarch 12, 2014 10:52AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 88
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 184 on July 08, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready