Redirecting domain to a folder

user131274 asked:

I have a domain It is hosted on Apache.

When I hit this domain, it takes me to the Apache default page.

Now my domain works as follows:

I want it to be

Support is the name of my application hosted in Apache.

Here are my vhost entries:

<VirtualHost *:80>
#   ServerAdmin [email protected]
    DocumentRoot /var/www/vhosts/
    ErrorLog logs/
    CustomLog logs/ common

What should I edit? How shall I do this? Should I remove the ‘/support/’ thing from my link?

My answer:

Just move everything up a directory?

cd /var/www/vhosts/
mv * ..

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.