All sites redirect to one after auto install

I have two domains and after running the commands here: https://certbot.eff.org/lets-encrypt/ubuntubionic-apache both of my sites point to rathernotsay.com

How can I fix this?

My domain is:
rathernotsay.com
rathernotsay2.com

I ran this command via shell: https://certbot.eff.org/lets-encrypt/ubuntubionic-apache

It produced this output:

My web server is (include version): apache2 on ubuntu 18.04

I can login to a root shell on my machine (yes or no, or I don’t know): yes

I’m using a control panel to manage my site (no, or provide the name and version of the control panel): no

It seems that I misconfigured my apache2 configs for each website. I had the Server Alias set to the same as Server Name. I fixed Server Alias by prepending a www. to the beginning of the domain. I re-ran certbot by using certbot --apache -d rathernotsay2.com -d www.rathernotsay2.com and chose “reinstall cert”. After that, everything works.

Hi @rootit

these domains have completely different setups. The second

Host T IP-Address is auth. ∑ Queries ∑ Timeout
rathernotsay2.com Name Error yes 1 0
www.rathernotsay2.com Name Error yes 1 0

isn't defined, no ip address found.

The first

has CNAME definitions, then redirects ( rathernotsay.com - Make your website better - DNS, redirects, mixed content, certificates ) :

Domainname Http-Status redirect Sec. G
http://rathernotsay.com/
23.20.239.12 302 https://www.hugedomains.com/domain_profile.cfm?d=rathernotsay&e=com 0.210 E
http://www.rathernotsay.com/
23.20.239.12 302 https://www.hugedomains.com/domain_profile.cfm?d=rathernotsay&e=com 0.203 E
https://rathernotsay.com/
23.20.239.12 -14 10.026 T
Timeout - The operation has timed out
https://www.rathernotsay.com/
23.20.239.12 -14 10.027 T
Timeout - The operation has timed out
https://www.hugedomains.com/domain_profile.cfm?d=rathernotsay&e=com 200 1.583 B

...

Reading your post: rathernotsay2.com isn't visible. Your other domain has instable name servers.

1 Like

Hi @JuergenAuer,

Those were pseudonyms - my apologies for not clarifying that in my original post.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.