Welcome! Log In Create A New Profile

Advanced

redirect 301 alias domain

March 03, 2014 10:43AM
hi,

i want to do a 301 redirect on all my alias domain for a domain

but i stuck in an infinite loop!

server{
listen 80;
server_name www.aaa.com www.aa.com ...
return 301 http://www.bbb.com$request_uri;

}

server{
listen 80;
server_name www.bbb.com
...
....

}

how to solve this ?

thanks,
bye

proxmox : CT Debian : nginx
SubjectAuthorPosted

redirect 301 alias domain

zuckbinMarch 03, 2014 10:43AM

Re: redirect 301 alias domain

Francis DalyMarch 03, 2014 11:38AM

Re: redirect 301 alias domain

Maxim DouninMarch 03, 2014 11:48AM

Re: redirect 301 alias domain

zuckbinMarch 04, 2014 06:10AM

Re: redirect 301 alias domain

Francis DalyMarch 04, 2014 07:16AM

Re: redirect 301 alias domain

zuckbinMarch 04, 2014 08:27AM

Re: redirect 301 alias domain

zuckbinMarch 04, 2014 08:30AM

Re: redirect 301 alias domain

Francis DalyMarch 04, 2014 02:50PM

Re: redirect 301 alias domain

zuckbinMarch 05, 2014 03:18AM

Re: redirect 301 alias domain

Francis DalyMarch 05, 2014 08:02AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 62
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready