I guess Ill go first
3 Replies
For this example, I'll use 64.1.2.3 as the IP,
Make sure "
Make sure "
Test it from your home computer using "nslookup
Edit your apache.conf/httpd.conf file (usually in /etc/apache or /etc/httpd/conf/). Here's some examples:
...
Port 80
ServerName li-3.members.linode.com
DocumentRoot /var/www/html
NameVirtualHost *
<virtualhost *="">DocumentRoot /www/example.com
ServerName www.example.com example.com
...</virtualhost>
<virtualhost *="">DocumentRoot /www/foobar.com
ServerName www.foobar.com foobar.com
...</virtualhost>
This would serve three sites. The linode's default address would be served out of /var/www/html. Requests to "
Check out
Apache is very flexible. It will do what you tell it
-Chris
@ne0:
ok so it looks pretty simple - the linode domain HAS to be the primary apparently. Will the document paths listed work with multiple users and mySQL? Do i need to create a system user for each virtual domain? I just keep wondering where UML starts changing things. And thanks for your help. I'll let u know how it goes when i try it.
The Linode's IP/domain does NOT have to be the first, or in there at all.
mySQL uses it's own path to store it's databases.
Creating a system user for each domain is useful if you plan on providing them an FTP account, so they can update their sites.
Also – UML doesn't change any of this. It is just like a 'regular' machine.
Good luck!
-Chris