How do u setup a website on the Virtualmin domain?

6 posts / 0 new
Last post
#1 Sun, 05/03/2009 - 19:52
gkuberski

How do u setup a website on the Virtualmin domain?

How can I setup a website on the main domain utilized by the Virtualmin?

I notice that when I go to that domain, it is just redirecting to one of my virtual domains.

-Graham

Sun, 05/03/2009 - 19:53
Joe
Joe's picture

<div class='quote'>How can I setup a website on the main domain utilized by the Virtualmin?</div>

I have no idea what this means. Virtualmin has no concept of a &quot;main domain&quot;.

Perhaps you're looking for this:

http://www.virtualmin.com/component/option,com_openwiki/Itemid,48/id,tro...

--

Check out the forum guidelines!

Sun, 05/03/2009 - 20:04 (Reply to #2)
gkuberski

I setup Virtualmin on server.example1.com.

I added two domains. www.example2.com and www.example3.com

now, I want to just put a simple website on server.example1.com so that domain looks nice, and has some information about my company.

However, I noticed that it is.. by default? redirecting to www.example2.com

I know I am terrible on explaining. I hope this helps and I appreciate the help!

-Graham

Mon, 05/04/2009 - 01:31 (Reply to #3)
ronald
ronald's picture

that's why Joe gave the URL, since &quot;the wrong site shows up&quot;
Basically Apache is looking at the first site mentioned in it's config.

What you can do is create the domain as -and website under- server.example1.com and put it in the first place in the &lt;virtualhost&gt; container of the httpd.conf

Mon, 05/04/2009 - 01:37 (Reply to #4)
Joe
Joe's picture

Virtualmin now has a domain order juggling feature to automatically put whatever single domain you choose as the &quot;default&quot; first in the list of Apache virtual hosts (since Apache doesn't have any notion of a &quot;default&quot; once you switch it to virtual hosting mode...it just serves out the first best match).

--

Check out the forum guidelines!

Mon, 05/04/2009 - 11:23 (Reply to #5)
gkuberski

OK, That explains it. I got my two main websites working perfectly so I didnt want to goof anything up.

Thanks again! Virtulmin is amazing!

-Graham

Topic locked