How do I install WP MU on a dedicated IP without a domain name pointed to that IP?

Hi

I want to install a WP network on a dedicated IP before pointing the A record of the future domain to that IP.

What I have done done so far:

Changed SiteURL and HomeUrl in phpMyAdmin to http://my-IP-number/~cPanelUsername- so a simple WP implementation works fine.

Changed htaccess to:
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^files/(.+) wp-includes/ms-files.php?file=$1 [L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule . index.php [L]

Added to wp-config:
/* Multisite */
define('MULTISITE', true);
define('SUBDOMAIN_INSTALL', false);
define('DOMAIN_CURRENT_SITE', 'my-IP-address');
define('PATH_CURRENT_SITE', '/');
define('SITE_ID_CURRENT_SITE', 1);
define('BLOG_ID_CURRENT_SITE', 1);

Added mu-plugins dir in /wp-content and chmod 0755

The result: Cannot connect to DB

DB credentials are fine, set up WP with Fantastico

Mmmh...any ideas?

Thank you :slight_smile: