Take the 2-minute tour ×
Webmasters Stack Exchange is a question and answer site for pro webmasters. It's 100% free, no registration required.

i have a probelm with this configurations, only the first virtual host is working and other under the same domain point to the first www.firebuggger.com).

do you guys have a clue?

NameVirtualHost *:8080

<VirtualHost *:8080>
ServerName www.firebuggger.com
DocumentRoot "/home/eben/domains/firebugger.com/html"
</VirtualHost>

<VirtualHost *:8080>
ServerName blog.firebuggger.com
#ServerAlias blog.firebuggger..com
DocumentRoot "/home/eben/domains/blog.firebugger.com/html"
</VirtualHost>

<VirtualHost *:8080>
ServerName www.firebuggger.com
#ServerAlias firebuggger.com
DocumentRoot "/home/eben/domains/firebugger.com/html"
</VirtualHost>


<VirtualHost *:8080>
ServerName wordpress.firebuggger.com
DocumentRoot "/home/eben/domains/wordpress.firebugger.com/html"
</VirtualHost>
share|improve this question
    
Why the entry with ..com? That looks wrong to me. –  Stephen Ostermiller Jan 21 at 19:03
1  
Have you enabled virtual hosts in config? –  Pazis Jan 21 at 20:29
    
..com was a typo. i fixed it by changing * to default –  eben Jan 21 at 21:09
1  
Have you set the sites in site enabled (Ubuntu) and have you restarted apache? –  Liam Sorsby Jan 22 at 8:25

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.