Different domain problems

Kirk

Well-known member
Howdy :),

So I have 2 domains. 1 that doesn't have hosting and 1 that does.

I have a cname to direct www and none www to point to the domain with hosting. But when i try to go to the domain it gives me a 404 error ngix. Am i missing a configuration step?

-Kirk
 
You have to make sure you include that domain name in your nginx vhost server stanza (for others that may wonder what was probably wrong).
Code:
server_name thepipestand.com www.thepipestand.com whateveranotherdomain.com www.whateveranotherdomain.com;
and then restart the nginx service.
 
Back
Top Bottom