Like many PHP based Content Management Systems (CMS), Drupal depends on a working domain name. If you have a domain name that is not pointed to our Nameservers and you're not ready to point it at this time, you can install Drupal and test it through your Temporary URL with just a couple of changes.
First, let's see what happens to our Drupal site if we've installed it through Softaculous and try to view it through our temporary URL:
As you can see, it doesn't look like a normal Drupal installation. Additionally, if we try to log into the Drupal admin interface we receive a 404 error.
Once you are logged into cPanel, click on the File Manager icon. Make sure you select the correct document root for site (Document Root For:) and select "Show Hidden Files (dotfiles)".
Select either Edit or Code Editor to open the settings.php file for editing.
Either scroll down or do a search for the line that begins with $base_url. Note, there are several lines above this that provide examples of base_url, please make sure you are on the correct line.
Next, click on the File Manager icon found under the Files category. Make sure you select the correct document root for site (Document Root For:) and select "Show Hidden Files (dotfiles)".
Navigate back to the document root directory for your site (public_html for main domain or public_html/addondomain.com) and select your .htaccess file and click either Edit or Code Editor to open the file for editing.Main domain:
Addon domain:
Now when you bring up your Drupal site through your temporary URL, the site appears correctly and you can log into your Drupal admin interface.
Once you have pointed your domain to our Nameservers and allowed 4-24 hours for DNS to propagate, you can disable the changes made above.
If you have any questions about these changes or need any assistance, please feel free to submit a question to our Support Center.
| Ticket: | Submit a Support Ticket |
|---|---|
| Chat: | Click To Chat Now |
We value your feedback!
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
new! - Enter your name and email address above and we will post your feedback in the comments on this page!