How to configure Drupal to use the server URL instead of my domain name?

Please note that in order for Drupal to be accessible via the server's IP you should modify the .htaccess file in the folder where Drupal is installed. The line you should uncomment and modify is:

# RewriteBase /

If your Drupal is installed in the main public_html folder, you should change the above line to:

RewriteBase /~your_cPanel_username/

If your Drupal is installed in a subfolder, for example drupal/, you should change the above line to:

RewriteBase /~your_cPanel_username/drupal/

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

I get an error when I try to install modules in my Drupal.

If you receive an error message like the one provided below while trying to install a module to...

How to fix the Drupal cron when halted?

If your Drupal cron fails to run then most probably the process is stuck and needs to be fixed...

How to disable comments in Drupal

Very often Drupal (especially outdated versions) has problems with Spam bots which flood its...

What is streaming/broadcasting?

Streaming is a term often used to define the display of video and audio media in real time....

How to display FeedBurner feeds on your website?

FeedBurner provides you with a lot of useful statistics about the usage of your feeds. Using...