How To Setup A Floating IP Address?
Feb 14, 2008how to setup a floating IP?
I have 2 servers, need a "floating" IP for load balancing, but my datacenter didnt understand what floating IP is.
how to setup a floating IP?
I have 2 servers, need a "floating" IP for load balancing, but my datacenter didnt understand what floating IP is.
I just bought a new ip address and want to setup this new ip as my server's main ip, making the 'existing main ip' as the secondary ip.
Which means, this new ip will be the server's default ip address for all services, including when connecting to other server.
I'm using CentOs 4.5 and swsoft's panels: HSPcomplete & Virtuozzo Power Panel, and Webmin.
my ISP offers me vlan environment for my two servers, but I need to setup internal IPs myself on my centos. Now I have no idea on how to do it. Anybody may help me on this problem?
View 5 Replies View RelatedI have purchased a VPS and setup all my apache, php and mysql successfully.
However I am unable to understand over how can I point [url] (bought at Godaddy) to my VPS host.
I only have a single dedicated IP address for me. So it makes more challenging on how can I host DNS on my VPS only.
My customer has an external facing Apache server that is acting as a reverse proxy to two internal applications. They have:
- external addresses for each app which resolve to different ip addresses, so app1.their_domain.com and app2.their_domain.com resolve to 77.3.170.10 and 77.3.170.11 respectively.
- the Apache server has two network interfaces with ip addresses 192.168.10.10 and 192.168.10.11
- the external ip addresses resolve to the above internal addresses
- the firewall between the Apache server and the internal app servers is configured to allow traffic from 192.168.10.10 to reach app_server1, and traffic from 192.168.10.11 to reach app_server2, both using port 7777.
I have configured a virtual host in httpd.conf for each ip, i.e.
Code:
<VirtualHost 192.168.10.10:80>
...
ProxyPass /app http://app_server1:7777/app
ProxyPassReverse /app http://app_server1:7777/app
RewriteRule ^/$ /app/app1 [R,L]
...
<VirtualHost>
and
Code:
<VirtualHost 192.168.10.11:80>
...
ProxyPass /app http://app_server2:7777/app
ProxyPassReverse /app http://app_server2:7777/app
RewriteRule ^/$ /app/app2 [R,L]
...
<VirtualHost>
This works fine in that the external address are being routed to the correct application, however the firewall is blocking requests to the second app as it appears the requests are coming from the Apache servers 'primary' ip address 192.168.10.10 instead of 192.168.10.11.
Is it possible to send requests using the ip address from the relevant VirtualHost?
Windows server 2008
Apache 2.2
I am using virtuozzo firewall to secure access.
I enter 58.27.175.211/255.255.255.0 for Source Address and Netmask for port 22.
But still I can connect using 58.181.103.217 or 58.27.151.120.
Second is it possible to enter two different ip address in source address?
As my clients' needs expand, they're asking for chroot ssh/sftp setup. I'm currently on a dedicated Linux setup but don't really have the time to set up a whole new box with full virtualization or investigate a full chroot solution (baby on the way), and to be honest it would be less hassle to move to a new provider than worry about down time with sites.
What I'm looking for:
- linux hosting
- hosting for 30+ accounts, some with several domains
- at least 6 IP addresses for SSL certs
- each account in a full chroot environment (ssh/sftp/ftp) so they can't poke around each others' files, or each account set up in a virtual machine setup (ie: openvz)
- maildir
- spamassassin
- php 5, mysql, perl 5.8.8
- suexec apache would be nice
I want to redirect a website to a particular URL so that the address bar shows the same URL and not the destination URL. I know it is possible via URL masking, however, I want it in such a way that whenever somebody clicks on any link in the website, the address bar should still show the original URL. To put it in simple words, Suppose I want to redirect [url] to [url]. Now if there is a link named contact/index.htm and somebody clicks on it the address bar should display [url]and not redirect to [url]
How can it be possible using URL Rewrite method in .htaccess file?
The problem usually goes like this:
- I can't access the webserver
- I'll try to restart httpd, and I'll get
Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:443
To fix this, I run
[root@www1 ~]# lsof -i tcp:443
COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME
perl 11307 apache 4u IPv6 476943447 TCP *:https (LISTEN)
There is always leftover process that is causing the restart to fail. Once i force kill the process, I am able to restart httpd properly.
Now it is ok if this just occurs once in a while, but this problem keeps repeating itself almost everyday at 4am server time (cron time?). What can I do to permanently fix this?
I have learnt it is harder to setup than I initially expected (since I have just moved from a shared hosting service). I am in need of some help setting up my DNS servers, as I am very confused. Here is most of the info I know:
1) I am running HyperVM
2) I've installed LXAdmin
3) I own the domain (purchased from xeodomains.com) runemart.com
4) My VPS hostname is: vps.runemart.com
5) I know my IP
6) My host has said:
'For VPS customers that have a HyperVM login you can now host forward DNS on the DNS servers rdns1.vaserv.com (US)rdns2.vaserv.com (UK'
And I am unsure what this means/how to do it.
I am not sure if I need some more information to set up my DNS, however I am sure that I can get it if I do.
Now, my questions begin. Firstly, I need to point my domain - runemart.com - somewhere. I believe I need to set up my DNS via HyperVM or LXAdmin so that they are something like: ns1.runemart.com and ns2.runemart.com. Though, is this correct? Am I able to set up my own actual domain name servers, or will my domain have to point at something like rdns2.vaserv.com?
If anyone can assist me in this I would be very greatful, as I am waiting to get my website running. This is all I will ask for now, I will take it one step at a time =).
to understand everything about hosting services.
What is IP address?
I have new ip range and must add to server.
How can add this ip address to server with ssh access?
How many MAC addresses does a system will have and what are they?
If more than one MAC address will be there, then which MAC address is constant one, so that nobody can change it?
Somebody told me that there will be two MAC addresses, one is of Hardware's and second one is of CPU's. Is it correct?
My new host give me 1 ip to register for both (ns1 & ns2) nameserver. Is that correct?
Ex-host always gave me 2 ip's.
Im looking for a good IP address locator, I have already tryed a couplde such as Visula Route, but it just plain sucks. Im also looking for a good program to monitor packets. any sugestions?
View 0 Replies View RelatedI have a question is a Dedicated IP on a shared sever any better than just being on there with out a Dedicated IP.Im new to all this.
View 12 Replies View Relatedabout adding IP addresses to cPanel.
I've added 8 IP's to my WHM, and I am slightly confused...
I moved one domain to the new IP address and it worked fine after 15 minutes. I then moved another to a new IP address and it did not work after waiting over 30 minutes. The only difference between the two accounts is one account has 2 domains attached to it and one has about 15 domains attached to it.
If I just were to leave it sitting and wait would it switch to the new IP?
I would have no problem with waiting except for the fact that it resolves to the "cPanel/WHM is now installed" screen, rather then the website.
I have a valid ssl certificate for the website but it still shows address not found error. But sometimes it just works fine.
is it related to dns issue?
thinking about adding web hosting to my reseller account. Can anyone tell me the difference between an IP address and a domain. If they are different who actually owns the domain and who owns the IP address?
View 9 Replies View Relatedi keep going down the list trying to figure out why im having so much trouble and then i noticed....
from a remote computer, every once in a while (every other day) when i type in my servers static ip i get all this information about my server and a page with stats and mac adresses. when i add the directory of my main website on the end of the adress i get a unique "pge under construction" page.
but then other times i just get absolutely nothing, generic "page not found". i kept messing with my name servers and godaddy trying to get this right but if i cant even access the server through the ip what could be happening?
when I ordered new server , I ordered 12 IP's with it and then installed HyperVM on my server and tried creating a VM and I enter the secondl IP address assigned by datacenter to me and I see : Ip already in use , I rang up Datacenter I think they removed the IP's from my main server so that can be added in HyperVM , I added and I was able to make VPS now
and when I made VPS I assigned the ip to it say : xx.xx.xx.8 and selected 2 in Number Of Ips(from Pool) and according to that the next two IP's should be xx.xx.xx.9 and xx.xx.xx.10 correct? , I add them in new cPanel VPS and then I go to cPanel Basic Setup and assign xx.xx.xx.8 to my ns1... and xx.xx.xx.9 to my ns2 (Nameserver) and add those IP in namecheap to register nameservers and damn it doesnt work more than 24 hrs passed away not working yet
my Namecheap account says:
1 ns1...........xx.xx.xx.9
Created: 2008-03-17
2 ns2........xx.xx.xx.8
Created: 2008-03-17
tried nslookup and it says non-existant domain
I have domain, let say it is www.mydom.com which is hosted at one IP. I would like to create subdomain www1.mydom.com and host it on another server with different IP address.
Is it possible?
IP addresses are recorded, but have forgotten who host it.
IP:67.18.26.179
Who can tell me which company host this IP address?
we change the name of one our directory on our host, we have some file on this directory and some website linked to this files. now how can redirect all address to new address?
for example our old address is:
[url]
now this file located on:
[url]
I have blocked this IP 125.115.144.28
/etc/apf/apf -d 125.115.144.28
But
netstat -anp|grep tcp|awk '{print $5}'| cut -d : -f1 | sort | uniq -c | sort -n
It still showing
202 125.115.144.28
Why?
Is it supposed to blocked right away, or need some time to get blocked.
When I checked /etc/apf/deny_hosts.rules
The IP is in the file.
I accidently deleted my /home/virtfs folder and lost alot of stuff on my new box.
I had cpanel re-installed and transfered my /var/cpanel/users to the new box. I Changed all the IP's on all the files in there.
I edited the /usr/local/apache/conf/httpd.conf file and changed all the ips of the virtual hosts and the accounts on them.
cd /usr/local/apache/conf
replace oldip1 newip1 -- httpd.conf
replace oldip2 newip2 -- httpd.conf
replace oldip3 new1p3 -- httpd.conf
replace oldip4 newip4 -- httpd.conf
All IP's were changed over to the new one.
I then ran:
/scripts/updateuserdomains
/usr/local/cpanel/bin/build_apache_conf
But it some how sent my IP's back to the old one.
I just discovered that my Internet provider only provides me with a dynamic IP address because its not commercial!
Is there any way or workaround to sign up for a static ip on the web?
i have been receiving email logs stating that i have massive amounts of traffic being directed at my web server. these logs come in intervals of 1 minute (due to my settings) and they have between 150 - 300 connections each time. strange thing is, these attacks never have an ip, so nothing is blocked.
heres a sample of a log:
Banned the following ip addresses on Fri Mar 7 18:09:03 SGT 2008
170 with 170 connections
and another:
Banned the following ip addresses on Fri Mar 7 18:07:01 SGT 2008
171 with 171 connections
i'm quite sick of my server being put under such heavy stress. btw, this isnt brute forcing just to make sure right? its just heavy access on port 80?
How do I add additional IPs in CentOS? I've been assigned five, let's say 1.1.1.101 through 1.1.1.105, but the box only came set up for 1.1.1.101.
I think I can apply 'em via ifconfig, but where are they actually configured, so I'm not left running a set of commands every time the server reboots?
I am using csf to secure my server. I want to open the ssh port for certain ip only. So I edit csf.allow and add the following line:
tcp:in:d=22=192.168.0.100
Then restarted.
But I can still access the server from IP addresses other than 192.168.0.100. Anyone know how can I restruct certain IP address to access certain port?