A temporary URL is a link that helps users to access their website via the server IP address instead of the domain name. The format of the temporary url is http://IP_address/~username/.
Note: Replace the IP address with the Server IP address and username with your actual cPanel account.
Uses of Temporary url:
Temporary URLs are typically used when a domain name is not working, is not registered, or points to something else. Below is a situation where a user asks his web hosting service provider about a temporary URL.
-> If a customer has created a new website and wants to test it before publishing it.
-> Customers migrating their accounts from another hosting service provider to your server and want to make sure everything is working fine before switching DNS to your server.
How to access the add-on domain using a temporary URL
Knowing that Accuwebhosting offers unlimited websites in one account, you can add multiple domains to your cPanel account using the add-on domains feature.
Addon Domains is a feature of cPanel that allows you to host multiple domains under one account. Associate your new domain with a directory in your cPanel account and save the file to that directory.
When you add a domain as an add-on domain, the system creates a folder with that domain name in the public_html folder. Add-on domains can be accessed in one of the following ways: where the add-on is the add-on domain you want to add, and demovpstest.com is the primary domain of your cPanel account.
To use a temporary URL for an add-on domain, you need to ensure that the add-on domain's directory or document root folder is inside the public_html folder. If the add-on domain is inside the public_html, then you can access your domain from the temp URL. The format of the temporary URL for add-on or subdomain is http://IP_address/~username/addon_domain.
Note: Please change the IP address with your server IP address. Replace ~username with your cPanel username and addon_domain with your added domain name.
We have a Linux shared hosting service with Accuwebhosting. The primary domain name of the hosting service is demovpstest.com. I added another domain example.com as an add-on domain in my cPanel account. The domain name example.com does not point to the Accuwebhosting service.
I have created a test page and would like to test it before publishing. We can test it with a temporary URL. However, for temporary URLs, the add-on domain's document root must be next to public_html. You can see that the document root of the example.com domain is in the public_html folder.
Open your favorite browser in your local system and enter the temporary URL of the addon domain. If you do not know about the temporary URL of your addon domain. You can contact your hosting service provider for that. You can see that we can access the add-on domain content using a temporary URL. That's all.