Set IP for alias virtual host?

Hi,

Is there any way to set the separate IP address for the alias domain? I cannot find the setting for it? If it's not possible, I think about create a new virtual host and point to the same http and https docs folder. It is a good approach?

Thanks Giang Anh

Status: 
Closed (duplicate)

Comments

What I'd recommend is creating a regular domain instead of an alias, which can have it's own IP and SSL cert. You can then setup it up to redirect web traffic to your real domain.

Hi,

Thank you. How to set up the redirect that I still use my alias domain but the document root is the main one?

Thanks, Giang Anh