Forum archive
Hosting standalone HTML in Turnkey Wordpress Environment
I have a Turnkey Wordpress environment (that I upgraded to 3.0.1) and I'm wanting to host standalone HTML files inside it. So for example, when users go to http://mysite.com, they'll get Wordpress, but when they go to http://mysite.com/content/test.html the HTML can be displayed.
Currently when I try to do this, I keep getting a "It Works!" HTML page (not what I want).
Any help is appreciated.
AFAIK what you need to do is fiddle with virtual hosts in the Apache config. I'm not well versed in this stuff (so I could be wrong). If you're keen and want to have a go before someone who can help out comes along, have a search/read about that online and it should head you in the right direction.
You can manually edit the config file(s) but another way is to have a play with Webmin. I think from memory the Apache module should already be installed (look under Servers>>Apache along the top menu in Webmin). Remember you'll need to restart apache for new settings to be applied (again from memory there's a "Restart Apache" button in Webmin).
If you get it worked out perhaps post back with the steps you took so other TKL users trying to do the same thing won't need to work it out themselves.