logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: Apache subfolder and DNS
Author
maxwas



Joined: 22 Sep 2015
Posts: 1
Location: Glasgow, Scotland

PostPosted: Tue 22 Sep '15 20:32    Post subject: Apache subfolder and DNS Reply with quote

Hello All, this is my first post on the forum Smile

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

PostPosted: Fri 02 Oct '15 12:11    Post subject: Reply with quote

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


Reply to topic   Topic: Apache subfolder and DNS View previous topic :: View next topic
Post new topic   Forum Index -> Apache