Set-Up of sub-domain with Apache
I tried searching for information on what I need to accomplish to add a sub-domain for our website.
We have Static IPs connected to a ADSL modem with an internal DNS and website hosted on an Apache Server through a SnapLinux firewall. What do I need to do to add a sub-domain to an existing domain? We have www.ourdomian.com on the Debian box and would like to add the sub-domain picturealbum.ourdomain.com. Sorry if this sounds confusing, I am just not sure about the steps I need to take to make this work in Linux. Thanks |
If I understand well, you want to use apache to host picturealbum.ourdomain.com along with www.ourdomain.com. First you must add an entry in your zone file for the new host:
Code:
picturealbum A xx.xx.xx.xx or where xx.xx.xx.xx is the IP of your apache server. Then edit httpd.conf and add something like: Code:
<VirtualHost *:80> |
All times are GMT -5. The time now is 08:22 AM. |