Adding new separated subdomain site on same server

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

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.

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.

works like a charm.

Thanks a lot.