Sub-domain as Main Site?

2 posts / 0 new
Last post
#1 Fri, 07/27/2018 - 06:32
Kutakizukari
Kutakizukari's picture

Sub-domain as Main Site?

I want a sub-domain to be the main site say sub.example.com

Do I first need to create a main virtual server example.com and then a sub-server sub.example.com and forward the main to the sub?

Or as long as the A record is set up, can I just create sub.example.com on the main virtual server without creating a sub-domain on Virtualmin?

What do you recommend or is there a better way?

Thank you!

Fri, 07/27/2018 - 09:10
Kutakizukari
Kutakizukari's picture

Solved

As long as the A record is set. You can create the main virtual server sub.example.com without having to set up example.com. Note, if you're not using example.com then forwarding example.com to sub.example.com would help too.

"Civilize the mind, but make savage the body." ~Chairman Mao

Topic locked