I copied a running hosting package from a live server to a test server.
On the test server I changed the domain name from domain.com to test.domain.com with the DA "Change a Domain Name" function.
So I did not used the subdomain function, as the domain.com will reside on the live server.
I changed the IP for the subdomain in the external DNS provider.
And the test.domain.com pings to the right IP address on the test server.
So far so good.
But when I open the test.domain.com url it keeps being forwarden to https://www.test.domain.com
I remove the htaccess file to prevent interferring.
I opened a basic html file for testing, but still the server cannot be found, and is refered to https://www.test.domain.com.
What obvious error did I create that keeps me busy?
And how to get this working.
On the test server I changed the domain name from domain.com to test.domain.com with the DA "Change a Domain Name" function.
So I did not used the subdomain function, as the domain.com will reside on the live server.
I changed the IP for the subdomain in the external DNS provider.
And the test.domain.com pings to the right IP address on the test server.
So far so good.
But when I open the test.domain.com url it keeps being forwarden to https://www.test.domain.com
I remove the htaccess file to prevent interferring.
I opened a basic html file for testing, but still the server cannot be found, and is refered to https://www.test.domain.com.
What obvious error did I create that keeps me busy?

And how to get this working.