TurnKey Linux Virtual Appliance Library

need subdomain help

bmlyon's picture

Can someone please walk me through setting up subdomains? I currently have the Turnkey Wordpress Appliance and a properly permissioned directory I made for the subdomain.

I cannot seem to get a subdomain to work. I've tried adding this to apache2.conf at the bottom, but all I end up with is "This webpage is not available"


<VirtualHost *>
ServerName subdomain.domain.tld
DocumentRoot directory/goes/here
Clay Fig's picture

I believe that you have to

I believe that you have to set up subdomains on your DNS server as well.

Assuming you have your domain through a third party domain registrar, you should log on to their site and find the instructions for adding a CNAME record for your subdomain.


Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)