Newbie using Drupal 7 under Ubuntu.
When I installed everything on my desktop, I fell into a single-site installation, probably from a combination of anxiety and laziness. Now that I am a few days away from making my first Drupal site live, I realize that since I'm probably going to be putting together at least a few more, I'd be best off making my desktop installation capable of handling more than one. So, I want to first set up my local machine to enable me to create more than one site, before I go live with the first one.
So I'm trying to put together a plan. Right now my drupal directory is located in /var/www, and I've been building example.com in /var/www/drupal/sites/default. The /files subdirectory there contains about a dozen subdirs (/ctools, /css_injector, etc.) as well as 20-30 PDFs and jpgs plus a .htaccess file.
The relevant part of my /etc/hosts is:
127.0.0.1 localhost
127.0.0.1 drupal
I gather that typically, a multisite installation will have the folders
drupal/sites/example1.com
drupal/sites/example2.com
Questions:
1) How will I have to make changes in the mySQL configuration for example1.com?
2) Can I *rename* .../drupal/sites/default to .../drupal/sites/example1.com? Or does sites/default have to be *copied* to /example1.com, and /sites/default left intact?