How to unblock IP Address that is blocked by hosting server? - networking

I have a website that runs on a hosting. However, I suspect that one of my website files has been infected by virus which causes IP address blocking when this IP address visits my website. The real problem is my department internet has ever accessed my virus-infected website so the IP eventually blocked (all internet connection in my department are the same, it is static IP). So, the IP address no longer can visit the website since it is blocked.
How to unblock this IP Address? Can I do it on my website's cPanel? I have also deleted all files on my hosting.
Thank you very much for the answer. I'd really appreciate all of the answers!

Looks like you are a shared hosting environment.
You will need to contact your hosting service provider and they will be able to unblock the IPs from the firewall.
And if its a dedicated server where your website is hosted then , then you can simply remove the IP from CSF using the command csf -dr IPAddress

Related

Is it sensible to get a Dedicated IP on shared hosting?

I'm thinking to get Dedicated IP for my Shared Hosting (I'm running wordpress on shared hosting). Will it be beneficial for me? Above all, my shared hosting won't misbehave after i get it?
Certainly get it if you can afford it. No matter if it is shared or shared-reseller hosting (where you can assign your dedicated ip as your own shared ip for your websites).
It will make your websites more independent, especially if you use self hosted e-mail system on your shared hosting. Like Fahad said, there are IP blacklists, and when some bots hack weakly protected websites or flood their contact forms with spam the IP usually gets blacklisted soon after and all the websites which use that IP suffers from that.
You asked if it can break / misbehave something - yes it can, but its all solvable, if you know your stuff (changing DNS settings, etc) . You can always revert back to your shared IP, if you feel you are getting in too much trouble.
Yes as answered above, dedicated IP does help in a shared hosting environment where if the main shared IP gets blacklisted and the datacenter decides to null routes the IP address, all the sites sharing that IP will get offline.
In the past having a dedicated IP address was a requirement for installing SSL certificates, which had some SEO advantages as well. But, now you can install an SSL certificate without dedicated IP on any shared hosting. So I wouldn't say it's beneficial.
Do note that if you decide to get a dedicated IP for your site, having already a shared IP address, once IP is changed there is going to be some propagation period for the new IP. So you may get site loading issues for a few hours.
Dedicated IP is good for security due to the following reasons:
In case when the shared IP is blacklisted, all domains pointed to this IP will be involved. But if you are using the dedicated IP, you will not experience any issues as you have another IP.
It will be possible to reach the domain using the IP address. This option will allow you to avoid the DNS cache poisoning.

When I get the ip address using the terminal, I get an ip address for a different website, how is this possible?

When I ping or traceroute the website I want to resolve, I get an ip address back, but when I put that into the browser, it leads to a different website. How is this possible?
The IP address you are getting is for a SHARED HOSTING. In Shared Hosting multiple websites are hosted on same IP address. If you have dedicated hosting, you will get your website when you hit the IP address.
The http request sent by your browser includes a Host header that tells the server which website you are trying to reach. This is how multiple websites can be hosted with a single IP address.

Assign URL for IP Adress (IP adresses mapping to host names)

How can I change domain name for ip address (192.164.5.19) to www.anyname.com?
Current I made a website and published it by using iis7. It is in the intranet. Now I want to access the website by a domain name and not by ip address.
can anyone help me for with this problem.
Note: The web-server were use is normal PC not a server.
It is up to the administrator of the DNS authorative nameserver for the "anyname.com" domain.
Since this is an intranet application, this would likely be your companies IT department.
You can find out more information about that via a whois search, although for an intranet application it may not be much help. One example: domaintools link
Add the ip adress to the hosts file from the computers who needs to reach the website. E.g. u can do the edit with a batch file.
Path:
%SystemRoot%\system32\drivers\etc\hosts
add line: 192.164.5.19 www.anyname.com

using dedicated IP of VPS for your personal web server

Pretext: There is a ABC company providing Virtual Private Server for $xx, which includes features like blah1, blah2, blah3 and 1 dedicated IP address.
I have my home FiOS internet connection.
I have serverA, serverB, serverC running at my home.
Let's assume ServerA is a web server.
Scenario 1:
To access this web serve from outside my LAN, I would type "myDynamicIPAddress", we are assuming it still has the same lease token, and get access to my website successfully.
Scenario 2:
I am at my school/work(I work at a corporate office). I would type "myDynamicIPAddress" to access my web server. Since my IP address is dynamic/residential, it is blocked(All residential IP are blocked by default, to reduce the chance of them getting infected and sending out spams).
My question:
Is there any way to connect my home network to the VPS that I purchased(the one with dedicated IP, remember?), so that I can use that dedicated IP address to connect to my web server from my school/work where residential IP address are blocked(this also means no Dyndns.com/no-ip.com).
I hope I explained my question correctly and I posted it in the right section.
Thank You in advance.
EDIT1: I found this one question, but I want to do the exact opposite of what the user in this question is asking for.
https://superuser.com/questions/498529/is-it-possible-to-use-a-static-ip-assigned-by-my-isp-for-an-offsite-web-server-o
The answer is the same as the other question, for the same reasons. The IP address is routed to the owning network prefix so it can't be used at a different location without changing the Internet routing tables to point the overall prefix to route to a different place. Since you don't own the network prefix, you can't do that.

how do i make my website accessible from the internet without a static ip and from a virtual machine?

I have windows 8 host and i have installed ubuntu 14.10 server as a virtual machine in vmware. i have installed LAMP server and i am trying to host a website from it. i have created a virtual host. my website is accessible in the host machine when i go to the address 192.168.0.106.
my router info:
LAN
IP Address :192.168.0.1
INTERNET
IP Address :10.30.XXX.XXX
"what is my ip" in google: 113.XXX.XXX.XXX
how do i make my website accessible from the internet ? I know it is a dumb question, but i tried searching everywhere and could not get the solution.
Since you say that you can connect to the site from the host machine, it does not matter that it is in a VM.
You say that you can connect to your site via: 192.168.0.106 on the LAN. You need to forward connections to your WAN address (113.193.56.198) to your LAN address (192.168.0.106). You can do this in most router settings in a section called Port forwarding. Use port 80 if you're hitting the LAN IP from a browser and you don't have to add a port after the address like http:\\192.168.0.106:1234. Otherwise, use whatever port you like.
Once you get that working, it is a good idea to use a dynamic DNS service, which will connect your IP to a domain name and update the connection whenever your WAN IP changes. This way, instead of using the WAN IP in a browser, you can use your domain name and it should always work. But that's not your first problem. First get it working with the WAN IP by itself. Once you've got that working, get some DynDNS.
EDIT
If you think it should be working but can't figure out why it isn't, use a tool like nmap/zenmap to scan your WAN and LAN IPs. That will help you diagnose the problem.
A DynDNS should do the job!
It will automatically renew your dynamic ip address. All you need is; a tool that runs on your server with website.
Search for it on google, and you'll find a solution. Btw: there are, Free and paid solutions.
EDIT: by the way, your router requires additionally some port forwarding to make your website accessible from outside. Even with the DynDNS stuff installed.
Just to give you some indications.

Resources