Remove or redirect your temporary URL by updating the CMS settings to your own domain or by adding a rewrite rule in .htaccess.
The temporary URL is used while or before your domain is transferred to us. You can use the temporary URL to review your website and set everything up before you approve a transfer of your domain.
We recommend that you never refer to the temporary URL in your HTML code, or share the URL with others – it is ONLY intended for testing.
When your domain points to Simply.com, you should no longer use your temporary URL.
If you have used the temporary URL in your CMS (WordPress etc.), you therefore need to change this in your CMS configuration and specify your domain instead. Often this is done in the settings of the individual CMS.
If you want to disable the temporary URL, it can be done with mod_rewrite.
For example:
RewriteEngine On
RewriteCond %{HTTP_HOST} .linux[0-9]+.unoeuro-server.com$
RewriteRule ^(.*)$ - [G,L]
This code disables the temporary URL and returns a 410 Gone error to the browser.
If you instead want to redirect the temporary URL to your domain, you can use the following:
RewriteEngine On
RewriteCond %{HTTP_HOST} .linux[0-9]+.unoeuro-server.com$
RewriteRule ^(.*)$ http://www.domain.dk/$1 [R=301,L]
Both examples should be placed in your .htaccess file, which can be located in the root of your webhosting.
Article from the support category: PHP