How to create a domain alias without redirection and able to install Let's Encrypt via Advanced Features > SSL Certificates

wilson.y

New member
Joined
Sep 21, 2022
Messages
3
Hi there,

I have 2 domains pointed to my server:
a.com
b.com

I have added b.com to Domain Pointer before and removed after since I don't want the redirection.

Then I added the following config to Httpd.conf Customization for a.com:
ServerAlias a.com www.a.com b.com www.b.com

But when I visit b.com, it automatically redirects to a.com. And visit to www.b.com, it doesn't redirect (That's what I want).

I think maybe there is some configuration stored to the server when I create a domain pointer and that is not cleared?

And b.com www.b.com are not visible in Advanced Features > SSL Certificates when I select Let's Encrypt currently.
 
Last edited:
I found out that force redirect is enabled in Domain Setup.
Problem solved. Thanks.
 
Back
Top