Quantcast
Channel: How should I set the default virtualhost? - Webmasters Stack Exchange
Viewing all articles
Browse latest Browse all 2

How should I set the default virtualhost?

0
0

I want to run 2 websites.One for www.example.com, and the other for everything else (www.example2.com, www.example3.com)

How I do it?

I tried:

<virtualhost *:80>ServerName www.example.com</virtualhost><virtualhost>#no server name</virtualhost>

But I ALWAYS get the second website.Thank you.


Viewing all articles
Browse latest Browse all 2

Latest Images

Trending Articles





Latest Images