Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have a domain www.mydomain.com. 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 webmaster@dummy-host.example.com
    DocumentRoot /var/www/vhosts/www.domain.com/
    ServerName www.domain.com
    ErrorLog logs/www.domain.com-error_log
    CustomLog logs/www.domain.com-access_log common

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

share|improve this question

2 Answers 2

up vote 0 down vote accepted

Just move everything up a directory?

cd /var/www/vhosts/www.domain.com/support
mv * ..
share|improve this answer

Try Apache's mod_rewrite

I use lighttpd ather than Apache, so this might not be exactly right, but something like...

<Directory /support>
RewriteEngine On
RewriteBase /
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.