|
Hi folks,
I'm pretty new to the VPS and ground-up Linux configuration games, and I have a few questions that are hopefully silly ones with easy answers.
My situation is as follows. I currently have sites across multiple domains and subdomains, all on shared hosting in various places.
I am going to want ultimately to move all of those sites to my Linode. The general workflow I want for this is as follows: Set everything up on the server so that each site is up and running, and then only when that site is working correctly do I want to actually move the domain name from pointing to the current shared hosting solution to my shiny new Linode.
This order of things is causing me some confusion as I try to set the server up with a LAMP stack.
The first point of confusion for me is in editing /ect/hosts. If I do not yet have any domain names pointing to my Linode, what makes sense to use as my FQDN? Do I want to leave that blank until I transfer at least one domain over, or do I use a domain that is currently still resolving to my shared host but *will* move over soon, or do I in fact need to have a domain pointing to my Linode before setting the FQDN?
Similarly, I am not sure what to do with VirtualHosts right now as I set up Apache. is there something that makes sense to put there?
I suppose the thing that I ultimately want is to be able to access sites and applications via something like "http://IPaddress/foo" while I am making sure that everything works on the Linode, then once the site is working, setup the DNS to point away from my shared host and to the new site.
How should I go about doing this?
Thanks!
|