custom vhost for domain

Mitch

Verified User
Joined
Apr 16, 2013
Messages
75
Hi,

I have some problems with setting up a subdomain.

What I want:
I want a subdomain on my website pointing to an other dir in my user home dir

What I get:
If I go to the subdomain I will reach the normal site

What I tried:
On the directadmin admin panel I went to Httpd.conf Customization I selected my domain and i filled in the next information:

Code:
    ServerName subdomain.|DOMAIN|
    DocumentRoot |HOME|/domains/subdomain/public_html

What do I do wrong or what do I miss?
After this works I will add another one.
 
Back
Top