Hi all, I have a strange issues. I have just deployed a WordPress site and in the process I created a sub-domain for testing purposes.
So the process is like:
- I created a site with sub-domain:
ee site create staging.example.com --type=wp
- Testing and make sure everything is fine
- Created the actual site:
ee site create example.com --type=wp
I expect that www.example.com will redirect to (or an alias of) example.com. But the fact is, it is redirecting to stage.example.com
On the DNS side, I have www.example.com with CNAME (alias of) example.com
What do I need to look at? Thanks.