Virtual Hosts & Subdomains

Edwin L. Culp W. edwinlculp at
Fri Mar 16 18:38:38 UTC 2012

2012/3/16 David Hughes <dghughes82 at>

> Hi all,
> Forgive me if this is slightly off-topic, but I wonder if I could trouble
> you for some advice about setting up website subdomains with Apache. I
> currently have a website up and running on a jailed VPS; I've been trying
> to set up subdomains so that one might navigate to a certain area of the
> site by using a URL of the form rather than
> I've tried reading the official Apache documentation and a number of
> tutorials that I've found online, but nothing I've tried has worked so far.
> Do Virtual Hosts behave differently if they're within a jail? Or do I need
> some sort of DNS registration for subdomains? I've been trying to figure it
> out by myself, with little success so far - I'm quite new to this.

If you have control of your DNS for just add a CNAME for and add a virtual server to your apache configuration.
I'm assuming that you control your DNS and your apache server.  More
subdomains would requier repeating the process.

Not much help without a bit more info on your installation.


> Thanks for your help,
> David
> ______________________________**_________________
> freebsd-questions at mailing list
> To unsubscribe, send any mail to "freebsd-questions-**
> unsubscribe at <freebsd-questions-unsubscribe at>"

More information about the freebsd-questions mailing list