Hello good folks. I build and maintain the website for my company and have been running Drupal 6 for quite some time. I have finished the ground work for our new site on Drupal 7. I may have built it in the wrong place, but I want to point my domain to the D7 installation.

Here's a better picture of my issue:
Our Drupal 6 site is sillytoast.com
I built our Drupal 7 site on the same server, new database at sillytoast.com/13
Basically, I want sillytoast.com to go to our D7 site (not "/13"), but I obviously can't just move everything from the /13 file into the root directory and have it magically work.

I feel as though I'm thinking too hard about this, which is why I wanted to ask before I spend another 8 hours researching. We're running on 1and1 servers, both MYSQL5.

Do I just change the destination of sillytoast.com to the new database or is there much more to it?

Thank you very much in advance!

Comments

Jaypan’s picture

What is the path of the folder on your server? Also, are you using cPanel? Plesk? Purely command line?

VM’s picture

but I obviously can't just move everything from the /13 file into the root directory and have it magically work.

magically work? no. However, it is common to move a site from one folder to another when a local dev environment isn't utilized. If you avoided using absolute urls, moving the site should be as simple as replacement of the folders/files and reversing any alterations to settings.php $base_url and/or .htaccess along with a clearing of the database cache.

your confusion may come from the idea that the database was created in /13. It was not. in fact, the database isn't stored in the public_root for any of your sites.