[ASK] Redirect old domain to new domain
dewanggaba at gmail.com
Thu Jan 6 12:46:48 MSK 2011
I have an old domain & new domain, let's call the old domain is
www.olddomain.com and the new one is www.newdomain.com.
Yesterday, I've register the new domain (www.newdomain.com), but, the
olddomain.com still active. Both of them can be accessed by user. But, in
some direction (nginx.conf), i've limit the old domain can accessed some
directory, but the new domain can access all directory in public_html.
Could nginx make a rules, if the user access the site from olddomain.com,
for example, the user access a file from www.olddomain.com/file.exe, will be
redirected automatically to www.newdomain.com/file.exe. NginX Wiki doesn't
provide this documentation. :(
View this message in context: http://nginx.2469901.n2.nabble.com/ASK-Redirect-old-domain-to-new-domain-tp5894964p5894964.html
Sent from the nginx mailing list archive at Nabble.com.
More information about the nginx