Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: Apache subfolder and DNS |
|
Author |
|
maxwas
Joined: 22 Sep 2015 Posts: 1 Location: Glasgow, Scotland
|
Posted: Tue 22 Sep '15 20:32 Post subject: Apache subfolder and DNS |
|
|
Hello All, this is my first post on the forum
I have an AMP installation running on Ubuntu Server. I have a production site running from the root of the web server and I have another site in a subfolder that I access through https://site/subfolder.
I would like to register a domain name and point it to the subfolder. Is there any way I can do this without having to mess about with virtual hosts?
Thanks, D. |
|
Back to top |
|
maba
Joined: 05 Feb 2012 Posts: 64 Location: Germany, Heilbronn
|
Posted: Fri 02 Oct '15 12:11 Post subject: |
|
|
Not really. This is exactly what the virtual hosts config of Apache is meant for.
I am not sure why you would call it "mess around". Don't confuse virtualization with the "VirtualHost" directive of Apache.
Virtualization is also fairly easy but has nothing to do with Apache virtual hosts. Apache virtual hosts are not really complicated. |
|
Back to top |
|
|
|
|
|
|