Adding new separated subdomain site on same server


#1

Hi everyone,

How can I add a new separated subdomain site on same server? For example, I have production site example.com. I need a test site test.example.com which is totally different from existing one. Any hint?

Thanks in advance.

Yul


#2

Do as usual ‘ee site create test.example.com --wp(or any other option here)’ But make sure you create a DNS record pointing test.example.com to the same server IP.


#3

And if you want to use Let’s Encrypt on the subdomain, make sure the DNS also has an entry to www.sub.domain.com pointing to the same IP.


#4

works like a charm.

Thanks a lot.


#5