Help - Search - Members - Calendar
Full Version: Main Shared Virtual Host IP?
The Planet Forums > Control Panels > cPanel/WHM
MrStormy
What should the values for Main Shared Virtual Host IP and ADDR-0: be?

I have an additional requested Ip Address for Main Shared Virtual Host IP and my main server IP address for ADDR-0:, but when I set up accounts and don't check the IP box and leave Ip Address set at auto-assign, it sets the new sites IP address to the value for ADDR-0?

And how do I set up name based accounts in WHM, am I assuming correctly, you just don't check the IP box and leave the Ip Address value set to auto-assign?

This is all very confusing to me, personally I would prefer to have dedicated IP's for my accounts

Thanks in advance for any clarification/explanation you can provide to help me figure this out.
perlchild
QUOTE
Originally posted by MrStormy
What should the values for Main Shared Virtual Host IP and ADDR-0: be?  

I have an additional requested Ip Address for Main Shared Virtual Host IP and my main server IP address for ADDR-0:, but when I set up accounts and don't check the IP box and leave Ip Address set at auto-assign, it sets the new sites IP address to the value for ADDR-0?

And how do I set up name based accounts in WHM, am I assuming correctly, you just don't check the IP box and leave the Ip Address value set to auto-assign?

This is all very confusing to me, personally I would prefer to have dedicated IP's for my accounts

Thanks in advance for any clarification/explanation you can provide to help me figure this out.

ADDR-0 ??
Normally the Main Shared Virtual Host address is the address of eth0 (which is what I think you meant) the first dedicated ip you can use to reach the machine(yes it can be on another device, that's system-dependant, but for most people, it's eth0)

why that one? presumabably because that's the one cpanel uses to check the license, that way they presume you won't cheat too much the licensing...
It also makes sense that if you don't add extra addresses, you use the one and only you need to connect to the net.

Now for many reasons, you might want to assign extra ips to specific customers, who might pay for the privilege, or not, it also enables ssl to be fully 100% compliant with the rfc's as last I checked, proper ssl required forward and reverse dns, which requires dedicating an ip(not everyone bothers with that constraint though, I found). You might also assign resellers their own ip. That keeps things tidy, me on my ip, you on yours...
I hope I answered your question properly.
MrStormy
When I go into WHM the first line under Server Setup - Edit Setup - it has Main Virtual IP and then he next line is ADDR-0




I have them both set to one of my additional requested IP, so what your saying is these both should be set for the main address of my server?
perlchild
QUOTE
Originally posted by MrStormy
When I go into WHM the first line under Server Setup - Edit Setup - it has Main Virtual IP and then he next line is ADDR-0

 

That's particular to the theme you are using, and may be a display bug of some kind
x for whm displays no such input box.

QUOTE
I have them both set to one of my additional requested IP, so what your saying is these both should be set for the main address of my server?


The Main Shared Virtual IP should be set to the main ip of the server, unless you know of a good reason not to.
I personnally think it a great waste of a good additional ip that could be used for better things, but your mileage may vary.
MrStormy
I just switched the theme back to x and I get the same thing, so it has nothing to do with the theme, unless its the version of the theme. Unless I set up something wrong and caused this?

Anyway, I switched both of them to be my main IP Address for the server. I was just wondering, since when I got the server it had some other address there and it resolved to a server running Redhat 9 which I am not, when I tried to SSH to it.

Thanks for the replies.
perlchild
QUOTE
Originally posted by MrStormy
I just switched the theme back to x and I get the same thing, so it has nothing to do with the theme, unless its the version of the theme. Unless I set up something wrong and caused this?

Anyway, I switched both of them to be my main IP Address for the server. I was just wondering, since when I got the server it had some other address there and it resolved to a server running Redhat 9 which I am not, when I tried to SSH to it.

Thanks for the replies.

Must be that you had something configured for addr0, as I can't get it to display on my X... it might keep showing up if you have value for it... At any rate, the important thing is that you keep your ips to what you use, and the rest isn't really important...
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.