NoxxieNl
4 months ago
398
5
Forge

Domain A redirect to Domain B

Posted 4 months ago by NoxxieNl

Hiya guys,

I have a issues and I cannot to figure it out.

I have 2 domains running on the same nginx instance. (domaina.com, domainb.com)

domaina.com has SSL configured and running domainb.com does not

when I try to enter domainb.com it redirects (301) to domaina.com,

I have looked everywhere but I cannot figure out why this happens.

My second issue is, that with domaina.com the letsencrypt works for the non WWW variant but it gets a 400 response when its tries to request a request for the www version.

the DNS for www is set to CNAME with "@".

Does any of you guys have any idea to work out these two problems?

Please sign in or create an account to participate in this conversation.