Moving my site to dreamhost

Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-19 16:46:00

I read the tutorials, tried the FTP, with passwords I got, but could not log in so tried the ftp dreamhost offers here, I managed to log in but then you can only upload small files.
Where do I start in moving the site from another server to dreamhost, it all seems very complicated for us newbies? :(

Re: Moving my site to dreamhost

Posted by: patricktan
Posted on: 2009-06-19 20:53:00

Don't forget that you can upload a zip file using *dreamhost ftp*.

If the file is too big, you can try to download it to your domain directory with basic unix commands.

1. Zip everything in your current server

2. SSH to your DH server

3. Use command wget http://yourolddomain.com/yourzipfile.zip

4 Use command unzip yourzipfile.zip

This article may help for new DH customers. In fact, you can find a lot of info in DH Wiki
http://wiki.dreamhost.com/116_Common_Questions

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-20 02:02:00

Thanx. What does SSH mean and where from do I access it?
I tried using bitvise tunnelier to access the server with the login and Ip I got but cannot even get to the point where I have to enter my password. I entered the right
niners.dreamhost.com and port 21.
Edited by Muniesa on 06/20/09 02:19 AM (server time).

Re: Moving my site to dreamhost

Posted by: patricktan
Posted on: 2009-06-20 04:08:00

SSH stands for secure shell. You need basic unix knowledge to do that.

I think the easiest way for you to upload your site to DH server is to use a FTP client like FileZilla.

Are you able to log into your FTP server now? It takes some time for new domain to propagate the new domain around the world.

http://filezilla-project.org

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-20 04:56:00

Thank you. I am able to connect to the dreamhost server now.
Now do I only transfer the files to my folder and thats it, or do I need to set some Ips, and where? Since Im running a worpress do i need to configure some files?
Thanx



Re: Moving my site to dreamhost

Posted by: patricktan
Posted on: 2009-06-20 05:07:00

Hooray! You are in DH now.

Please note that there are three directories "Logs", "Maildir", "yourdomain.com" in your home directory. You should upload your files into "yourdomain.com" directory.

If your wordpress was configured in your previous server, you will need to update your configure files with new database hostname, username, and password.

I think that is the only thing you need to update. If you encounter any problem, you can post it here.

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-20 12:18:00

ok, seems I had troubles with ports. Port 21 is for dreamhost and I have 22 for my other server.
Dont I have to change IPs as well, in enom or somewhere? I remember I had to do that when I set up an account for my domain on other server?
Also, can I change the name of yourdomain.com folder to just yourdomain?

Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-20 17:58:00

Port 21 is for FTP and Port 22 is for SSH/SFTP. These are standards and should not ever change.

You don't need to set IP addresses. If your domain isn't switched over yet, you can connect to it via the machine name. In the panel, if you click Account Status in the upper right, you'll get the machine name for your webserver. You can connect to it as MACHINE.dreamhost.com

You can change the folder name, but you need to make the corresponding change in the panel under Domains -> Manage Domains and click Edit for your domain. You'll get the Fully Hosted settings section where you can specify your web directory which currently has the .com extension.

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-21 11:57:00

But I got this in my e-mail:

Primary name server: ns1.dreamhost.com 66.33.206.206
Secondary name server: ns2.dreamhost.com 208.96.10.221
Tertiary name server: ns3.dreamhost.com 66.33.216.216

Im sorry, this is very confusing. Can you help me out here, step by step. I managed to send my files to dreamhost. Everything that follows seems very complicated.
Also I think we didnt understand each other. I have a working website and a domain which I bought BEFORE opening dreamhost account. And what I need to do is move everything to dreamhost.

Aslo do I need to create MySqL database? And whats the hostname I should put there?Edited by Muniesa on 06/21/09 01:32 PM (server time).

Re: Moving my site to dreamhost

Posted by: patricktan
Posted on: 2009-06-22 02:42:00

In reply to:


Primary name server: ns1.dreamhost.com 66.33.206.206
Secondary name server: ns2.dreamhost.com 208.96.10.221
Tertiary name server: ns3.dreamhost.com 66.33.216.216


This is your DNS setting. It is nothing to do with your FTP uploading. If you want to know more about DNS (domain name server), you can refer to this article.

http://wiki.dreamhost.com/DNS

To move your site to DH, I believe you need to do the following

1. upload your files to DH server
You can use FTP client to achieve this. Filezilla is a very good software and it is free. You can manage your FTP users via DH panel --> Users --> Manage users.

2. set up your database in DH
You can manage your database via DH panel --> Goodies --> Manage MySql. You can create new hostname, database, and database users.

3. update your wordpress config files with new mysql hostname, database, username and password
Once your have your database set up in step 2, you can update your wordpress configure files with the new setting.

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 04:18:00

I did all that but the site is still on the old server. I still dont know what those DNS address mean and do I have to input them at my registrant

Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-22 05:58:00

Those three name servers are what you need to change your DNS entries at your registrar. It's part of the WHOIS information that tells the world which name server to use before people can visit your site at DreamHost.

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 07:13:00

ok.I entered dns as follows: ns1.dreamhost.com

But now I cannot change the Host records
(To enable host records, you need to use the default DNS settings.)
Edited by Muniesa on 06/22/09 07:18 AM (server time).

Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-22 08:48:00

What's your Domain? I'd like to do a lookup and see how it's set.

Your host records will show up in the panel *after* your website is set up here. Go to Domains -> Manage Domains and then click DNS for your domain. You'll see what records are there and it gives you a spot to add additional records, which you generally don't need.

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 09:02:00

http://www.fcbarcelonanews.com/
managed to switch, but now all of my posts are lost!!

Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-22 09:43:00

Did you copy your database over to your new database server?
http://wiki.dreamhost.com/Migrate_MySQL

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 09:46:00

No, I created a new database

Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-22 10:42:00

That new database is empty. You'll need to migrate your data from the old database to your new one. Follow the link I posted above for instructions.

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 11:10:00

I tried moving but go this;


ERROR 1045 (28000): Access denied for user 'root'@'niners.dreamhost.com' (using
password: YES)
ERROR 1044 (42000): Access denied for user 'bojanfcbnews'@'69.163.128.0/255.255.
192.0' to database 'fcbarcelonanews'


Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-22 11:35:00

Try the Backup and Import methods listed:
http://wiki.dreamhost.com/Backup_MySQL
http://wiki.dreamhost.com/Migrate_MySQL#Importing_Through_phpMyAdmin

Access denied is caused by either the wrong user (you need the DB user; not your FTP user) or attempting to access it remotely from a non-whitelisted server.
http://wiki.dreamhost.com/Mysql#Connect_to_Your_MySQL_Database_from_Third-Party_Programs

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 11:58:00

I am lost here. Do you have the Fantastico service?

Re: Moving my site to dreamhost

Posted by: sdayman
Posted on: 2009-06-22 12:32:00

Fantastico is cPanel. Then use the phpMyAdmin method for import.

-Scott

Re: Moving my site to dreamhost

Posted by: Muniesa
Posted on: 2009-06-22 12:41:00

Can you point me to someone who could do this for me for a fair fee. Im doing this for 3 days now and all I got is my website down.

Re: Moving my site to dreamhost

Posted by: patricktan
Posted on: 2009-06-23 04:15:00

You can find a lot of helpful articles in wiki to help you to transfer your site to DH.

http://wiki.dreamhost.com/Transfer_your_site_to_us

Please note that you have to take the risk to give all the access to the person if you ask somebody else to transfer the site for you.

Tags: passwordsdreamhost