Help With Site Transfer


I have several issues i need help with.

#1. I am moving my website over to dreamhost with a dedicated IP. I moved all ftp files over. Setup my .htaccess file on new server. Here is where i need help. I can not change my DNS on the domain name until the site is setup correctly. I need to setup several mod rewrites, crons, etc. Since i can not use localhost for mysql, how do i get the database setup to i can make sure everything is working before i change dns.

I edited my hosts file on my pc so i can view the site, however i get this msg when i go to the site:

2002: Can’t connect to local MySQL server through socket ‘/var/run/mysqld/mysqld.sock’ (2)

my mysql server is precious. Can someone help?


If you’ve already created your domain here, including, you could log in via shell and type ‘host’ and get the IP address.