I got my apache server running on ubuntu, just installed webmin and usermin, created a virtual host, got it to work, but whenever i come from www.domain.com it redirects to domain.com/foldername foldername being the name of the folder where the files for that domain are placed - but when i enter domain.com in browser it just goes to domain.com no folder name, why is that?
to your virtual host declarations in httpd.conf
My httpd.conf is empty, however ServerAlias www.domain.com is already in place in the file in the sites-available folder
Apache comes with a non-empty default httpd.conf. Find it or create it,then check the DocumentRoot declarations for domain.com and www.domain.com.
On mine its empty, placed in the folder /etc/apache2, but in the etc/apache2/sites-available there is the files with the declarations, and ServerAlias is there with www.domain.com
Hmm suddenly i just startet working… weird… thanks for your time
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.