This IP is being shared among many domains.

pppplus

Verified User
Joined
Dec 19, 2008
Messages
523
Message :
This IP is being shared among many domains.
To view the domain you are looking for, simply enter the domain name in the location bar of your web browser.

I add a new IP to my server like this (centos 5.3) :

I create : /etc/sysconfig/network-scripts/ifcfg-eth0:0
Code:
DEVICE="eth0:0"
BOOTPROTO=static
IPADDR="91.121.53.61"
NETMASK="255.255.255.255"
BROADCAST="91.121.53.61"
ONBOOT=yes

Then
Code:
# ifup eth0:0
# service network restart
# service startips start

When I execute :
Code:
# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:30:48:BD:ED:48
          inet adr:94.23.242.125  Bcast:94.23.242.255  Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:10290732848 errors:39558 dropped:0 overruns:0 frame:39558
          TX packets:8639849991 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000
          RX bytes:2019705266143 (1.8 TiB)  TX bytes:2882764060459 (2.6 TiB)
          Mémoire:faee0000-faf00000

eth0:0    Link encap:Ethernet  HWaddr 00:30:48:BD:ED:48
          inet adr:91.121.53.61  Bcast:91.121.53.61  Masque:255.255.255.255
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Mémoire:faee0000-faf00000

lo        Link encap:Boucle locale
          inet adr:127.0.0.1  Masque:255.0.0.0
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:59004667 errors:0 dropped:0 overruns:0 frame:0
          TX packets:59004667 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0
          RX bytes:4243184780 (3.9 GiB)  TX bytes:4243184780 (3.9 GiB)

So it appears to be ok (for me...)

Now, on Directadmin :
I add new IP on server.
I assign this IP to a reseller
Then I modify DNS of my domain, to new IP

And this :mad: message when I open the message :
This IP is being shared among many domains.
To view the domain you are looking for, simply enter the domain name in the location bar of your web browser.

I try again on Directadmin to add this IP (i delete it first)
Now, I have this message :
IP 91.121.53.61 already exists on eth0
Another question : which mask to use ? 255.255.255.255 like I put in config file ?

Thanks for your help.
I read some posts in the forum, and some found with google, but I do not find solutions.
 
You don't have to add IP#s manually through the shell; DirectAdmin will add them and manage them. The mesage IP 91.121.53.61 already exists on eth0[ is just a warning; you can ignore it, but it won't appear if you don't enter the IP# manually through the shell.

Only your upstream network provider can tell you the proper netmask. It won't matter on incoming packets, but may if your server ever sends outgoing packets on that IP#, so you should take the effort to get it right.

Did you, as reseller, assign the IP# to the user?

If you let us know the domain name and the new IP# we can help you troubleshoot further.

Jeff
 
Thanks for your help.

So it was easiest than what I did.

My error was : I create user, before to have the new IP. And I did not assign the new IP to the user.

Domain was on the good IP, (I ping it with good IP) but do not send anything except this error message.

Now, it is ok !!

Thanks for your help.
 
A new problem...

I test another IP with another domain, and something is wrong.

Domain name : dreamhits.org

new IP : 91.121.35.45 (ns3.3go.fr)

When I ping the domain name, I have the answer, with the good IP
But if I try to open the domain, I have an error page.

If it is ok, I should see the page "domain account suspended". But actually, nothing else than an error page.

What I do :
1/ I add IP on server in Admin level
2/ I give this IP to reseller Admin
3/ With reseller, I give IP to my user
4/ I change DNS of domain dreamhits.org to ns3.3go.fr

Thanks for your help !


My next question are for SSL setup.
I add a new IP to server, as to give a SSL to a domain.
So if you have some suggestions to help me, that's very good
 
I don't even get the account suspended page. It does not appear that a web server is running on that ip, 91.121.35.45.
 
Firewall automatically adds the new IP (CSF).

What do you mean by : it is not bound to that ip

Thanks for your help
 
# netstat -na | grep -i list | grep 80
Code:
tcp        0      0 91.121.132.167:80       0.0.0.0:*               LISTEN
 
Yeah doesnt look like its listening on all ips.

The first number should be:

0.0.0.0:80

You should check your /etc/httpd/conf/httpd.conf for the line that starts with "Listen" to see if it looks like "Listen 80"
 
I come back with my IPs...

I assign an IP to a reseller.
From this reseller account, I assign this IP to his Users (shared IP).
And, now, I want to assign IP to user level of this reseller, but it is impossible ? or I do not find how to do this.

Now another question :
I assign a new IP to move this reseller and his users, to a new server, just moving the IP (and backups of accounts).
So all domains have to be on this new IP.

Is it usefull or not, it this "old" server, to assign the new IP in all A entries ?
 
Back
Top