Help With Site Transfer


#1

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?


#2

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

-Scott