Dear Sirs,
run an Apache server with Fedora Core 5 installed.
It's connected to the internet this way: there is a router with a static IP which translates all incoming traffic to the server.
A domain is associated (
www.myserver.com) to the static IP.
If I connect to
www.myserver.com, I see the web pages stored in my /var/www/html directory.
I bought a new domain
www.myserver.co.uk, it points to my IP.
Is there a way to tell the server to connect each domain to a certain directory?
What settings should I edit?
For example:
www.myserver.com shows local folder /var/www/html
www.myserver.co.uk shows local folder /var/www/html2
Thank you, everybody!