Redirect to domain TTFB very slow

ASTRAPI nginx-forum at
Wed Dec 31 00:29:04 UTC 2014


Thanks for your reply :)

"do you mean forwarding to"


I have two domains let's say and

Both domain files are in public folder of domain1 and the domain2 is using a
folder there named "gadgets" 

Now i was set one account for each domain on nginx but on domain2 i use a
redirect to "gadgets" folder ....

Yes it seems that there is a problem with an http request or dns overhead
but no idea how to solve :(

At /etc/hosts i have only the first domain.Do you think this is the problem
and what exactly i must add there for the second domain?   localhost localhost.localdomain server

Both domains are using the same ip!


Posted at Nginx Forum:,255913,255915#msg-255915

More information about the nginx mailing list