Default virtual server when pointing to server

3 posts / 0 new
Last post
#1 Thu, 12/16/2010 - 14:51
Fredrik-s

Default virtual server when pointing to server

Hello,

I wonder how I can change the default virtual server which the domains I point to my server is getting.

I wonder how I can change which of my virtual servers the domains (when not adding any own virtual server to the domain) I point to my server should end up with. I have figure out that the domains I point to my server automatically shows up to the first server in the list.

Example: I have bought a new domain from eg GoDaddy, the domain is big-cars.com. After I bought my domain I point the DNS to my Virtualmin server. Thus, I point big-cars.com to the Virtualmin server.

Before I have created any site that take care of the domain big-cars.com in my Virtualmin CP, this domain will point automatically to the site I have first (in alphabetic order) on my Virutalserver eg abc.com

I wonder how I can change this so all the new domains I have bought I pointed to my Virtualmin server automatically should link to another site eg giraf.com?

How can I fix this?

Thu, 12/16/2010 - 17:51
helpmin

You have several options

If you just meant default server for IP address?:

Server Configuration->Website Options->Default website for IP address?

If you want to just redirect a domain to another domain, you could

Server Configuration->Website Redirects?

You could also forward the domain to another domain with your domain registrar

Fri, 12/17/2010 - 04:12 (Reply to #2)
Fredrik-s

Thanks for the answer!

The one that help me was: Server Configuration->Website Options->Default website for IP address?

Thank you again and merry christmas!

Topic locked