How to access site through IP address when website is on a shared host?
181,894
Solution 1
Include the port number with the IP address.
For example:
http://19.18.20.101:5566
where 5566 is the port number.
Solution 2
You can access you website using your IP address and your cPanel username with ~ symbols. For Example: http://serverip/~cpusername like as https://xxx.xxx.xx.xx/~mohidul
Author by
Andrew Tsay
Updated on November 02, 2020Comments
-
Andrew Tsay over 3 years
I want to edit my host file to forward a website to another IP, but that IP is on a shared host, so the IP doesn't take me to the domain I want. Is there a way around this?
i.e. Website: http://somerandomservice.com/
Ping the site and go to: 67.225.235.59
But they're different sites.
Thanks!
Update: Tried nmap, but unable to find the correct port.
-
Andrew Tsay about 10 yearsHow do I go about finding the port number of a domain I don't own?
-
Omar Himada about 10 yearsIf it isn't the standard 80 for HTTP, 443 for HTTPS, or 53 for standard DNS, chances are it was given a custom port by the owner of the domain and unavailable to you (without running an nmap via bash, or some other method).
-
Andrew Tsay about 10 yearsI went ahead and nmap'd 67.225.235.59 and got 13 open ports. I wasn't able to find the domain in my example above. Is there anything I could be missing?