TurnKey Linux Virtual Appliance Library

Extra HTML site off Turnkey Wordpress server? Apache virtualhosts?

Hey guys, 

Installed wordpress turnkey a while ago and it's working great.  The only thing is I also want to host a simple couple html page site using a different port on the same server.  I had tried creating a new virtual host and pointing it to the right directory, but I've had no luck.  I've also made sure to open up the port on the firewall as well.  It seems as if it should work, but I still can't connect to the site.

Are there some kind of apache settings special to the turnkey wordpress installation that is preventing this?  Some of the config giles appear different than a few of the guides I'm reading online.  Anybody have some insight into this?

Jeremy's picture

Should be doable

The setup of Apache2 under Debian/Ubuntu (and therefore TKL too) is not quite standard, so you are probably best consulting Ubuntu/Debian documentation on setting it up. TKL doesn't have a firewall enabled by default so that step should not be required. You will also need to make sure Apache is listening on the port you are trying to use (IIRC it's something like /etc/apache2/ports.conf ??)

Also (as you're probably no doubt aware) you need to restart Apache after making config changes.

Apache config isn't a real strength of mine, but if you are still experiencing this issue, please feel free to post your config files that aren't working and perhaps someone else could help out?

Good luck (and sorry for delayed response).

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)