Hi,
I meant to set up a staging instance for a site.
The domain is set up as example.com in plesk. However, when viewing the WordPress instance in the WP toolkit its title is www.example.com.
Now if I go to clone that instance to staging.example.com I do get a new subdomain within the websites-panel as staging.example.com. However, upon visiting staging.example.com the server redirects to www.staging.example.com which is not set up in the DNS, nor should it have to be.
I have removed the www. part from the site url within the WordPress database and within the WP-toolkit's sqlite database but can't seem to get rid of the redirect.
I would also be interested in why this happens in the first place.
Thanks!
I meant to set up a staging instance for a site.
The domain is set up as example.com in plesk. However, when viewing the WordPress instance in the WP toolkit its title is www.example.com.
Now if I go to clone that instance to staging.example.com I do get a new subdomain within the websites-panel as staging.example.com. However, upon visiting staging.example.com the server redirects to www.staging.example.com which is not set up in the DNS, nor should it have to be.
I have removed the www. part from the site url within the WordPress database and within the WP-toolkit's sqlite database but can't seem to get rid of the redirect.
I would also be interested in why this happens in the first place.
Thanks!