Is Website Redirect the way to go?

Hi there

I have a domain that requires 3 additional domains to point to it.

e.g. : main.com second.com third.com fourth.com

Second, third and fourth need to redirect to main.com

I want to avoid adding 4 separate virtual servers and then having a .htaccess redirect for each one that points to main.com

Assuming that I have changed the nameservers for all 4, is website redirect enough, and would the following work?

Source URL Path:  second.com
Destination: Directory on this system: /home/main.com/public_html
Include sub-paths in redirect: Yes

Source URL Path:  third.com
Destination: Directory on this system: /home/main.com/public_html
Include sub-paths in redirect: Yes

Source URL Path:  fourth.com
Destination: Directory on this system: /home/main.com/public_html
Include sub-paths in redirect: Yes

Many thanks in advance

Status: 
Active

Comments

Why not create second.com , third.com and fourth.com as alias domains in Virtualmin that point to the primary domain? That way they will all serve the same content (although without a redirect).

Because, up until just now...I didn't see that option anywhere lol

I will give that a go.

Thanks