4

Moving Drupal to a new HOST - NameServers not updated yet

http://drupal.org

Hi,

I had my site working on an old host perfectly.

I am now in the process to move to a new VPS at Servint. I have backed up all directories as well as DB from my old host, and copied and extracted on the VPS.

The first problem I have is that the new url of my site is weird.
old URL: http://www.domain.com/ - Drupal site worked perfect.
new URL: http://ip/~domain - on this Drupal only shows the front page. Every link that is press from the page get's me to a 404 page of the Apache server.

The url on the links are wrong, e.g.: http://ip/~domain/link - off course there is nothing physical in that location.

WHAT ELSE DID I TRY
* In the sites/default/settings.php I tried to uncomment
$base_url = 'http://ip/~domain'; // NO trailing slash!
this did not

* In www folder .htaccess
rewrite engine is on
RewriteBase /

# Rewrite old-style URLs of the form 'node.php?id=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^id=([^&]+)$
#RewriteRule node.php index.php?q=node/view/%1 [L]

# Rewrite old-style URLs of the form 'module.php?mod=x'.
#RewriteCond %{REQUEST_FILENAME} !-f
#RewriteCond %{REQUEST_FILENAME} !-d
#RewriteCond %{QUERY_STRING} ^mod=([^&]+)$
#RewriteRule module.php index.php?q=%1 [L]

# Rewrite current-style URLs of the form 'index.php?q=x'.

read more

Read »
Created by Dplanet 2 years 36 weeks ago
Category: Installation   Tags:

PSD to Drupal Theme

Drupal Development

Module Development

Get an Estimate

Tags for Moving Drupal to a new HOST - NameServers not updated yet

Recent comments