Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I have installed xampp on my ubuntu 12.4 machine. I have created a virtual host for one of my project. It works with the server name, but server alias doesn't work. Below is the httpd-vhosts.conf file

<VirtualHost *:80>
    ServerAdmin webmaster@test.wordpress
    DocumentRoot "/opt/lampp/htdocs/wordpress"
    ServerAlias www.test.wordpress
    ServerName test.wordpress
    ErrorLog "logs/test.wordpress-error_log"
    CustomLog "logs/test.wordpress-access_log" common

Now If I write test.wordpress in the browser it works, But I write www.test.wordpress it says server not found.

Why this is happening ?


share|improve this question
Is there anyone who faces the same problem ? –  ehp Jun 12 '13 at 9:24
add comment

migrated from stackoverflow.com Jun 4 '13 at 6:48

This question came from our site for professional and enthusiast programmers.

Your Answer


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

Browse other questions tagged or ask your own question.