Re: Alright a little linux question
Ensim is a horrible thing.
Originally posted by Destined
I have run a linux server before and im planning on running ensim on my linux box.
The NameVirtualHost directive.
I know how to configure apache and all that for server name and paths and stuff. But what i need to know is how i tell the server its ip since im gonna be running multiple sites on one ip.
You will need to have the DNS information for the domain, and each domain's zone file will point to the same IP. Once you get the first one configured, you can just copy it and change the filename and the domain name in the zone file contents for each new one (and do the same for the Apache virtual host blocks (only needing to change the relevant values there too), restart/reload the name server (depending on your name server, you might not need to restart/reload it) and restart Apache and you're set for those two aspects.
Also how do i go about running all the domains on the one ip. Do i have to setup a dns server stuff or can i just point the domains at the ip and the server will determine where to pull from based on the domain.