I am trying to view a website using its IP Address, but failed to do so. What am I doing wrong?
The website IP address is provided in the image below.
Do you have a Webuzo or cPanel ?. If you have two IP addresses in one VPS, you have to try parking a secondary IP address in Webuzo or cPanel like parking a domain. I had tried this method if your VPS provider has supported it.
But now for me, my new VPS provider does not support it. I do not know why they do not support it ?. I have a feeling that my old VPS provider uses SolusVM and SolusVM has made default network so that we can park a secondary IP address in Webuzo or cPanel.
I also ask about that in this forum to build manually in CentOS 7 so that I can try parking a secondary IP address in Webuzo. I also hope get the answer in this forum.
If you are using cPanel then you can access it as IP/~cpanelusername
If you can provide more details regarding your webserver then it will help. Also, is the IP shared for other services?
is it a dedicated IP assigned to the website ? if so you should be able to access the website with the IP provided its a dedicated IP assigned to it.
Related
I "own" a URL www.example.com which is currently hosted by One.com. I recently built my own server running a LAMP stack and it serves pages to the internet from /html as it should, but is only accessible via numeric IP address. In the past I've re-assigned the name servers for URL's but only using a hosting company's "dashboard" or GUI. I've read about changing the DNS settings in Ubuntu (my server is running 18.04) and also I've researched what I can into Google's public DNS and DynDNS services.
So I have two sets of questions. First, is it possible to "connect" or "bind" a URL to the static IP address of my own server without using a DNS service? Can it be done through any kind of public registry and if not, what are the least expensive but still reliable options?
Second, is basically "Why bother?" I do understand the value of a human-readable address but also, the address bar isn't realistically used anymore. Most of the security value of having human readable addresses depends on users actually looking at the address bar so that's becoming a moot argument. People only navigate the web now through links and Google searches, and the address bar is essentially a developer tool. It seems like I can pretty much replace the need for DNS with masked links and meta titles?
You need to set your domain's "A Record" in DNS to point to your server's IP address. While not neccessary, you can configure Apache to respond to the correct domain with virtualhosts [https://httpd.apache.org/docs/2.4/vhosts/name-based.html ], but you will need the DNS configured correctly first.
It is not possible to bind a domain to an IP address without DNS - DNS or Domain Name System is THE authoritative system for doing so. It's how the world wide web functions.
Here is some additional reading on what DNS does and why it's important: https://www.cloudflare.com/learning/dns/what-is-dns/
I have hosted an ASP .NET MVC website on IIS 7 on a machine,
I have bounded the site with IP Address and Port and I can access it from that system by using http://[IP Address]:[Port Number], to get access from another system I have added a rule in Windows firewall as mentioned in this link.
But after completing the process I am still getting "The site cant be reached" error,
I've tried different solution including giving Full control permissions to All Groups and user names as mentioned in following screenshot but still cant get access to website.
I've searched alot on internet but couldn't get any effective solution.
Few questions and suggestion that will help you in isolating the issue further.
Does the application come up fine when you browse to it over localhost and IP address directly on the server ?
Look into IIS logs and see if the requests are even reaching IIS and share the status code here. Default Location - C:\inetpub\logs\logfiles\w3svc_websiteID
Stop your website in IIS. Create another website at port 80 and add a simple HelloWorld.html page and see if it comes up fine over localhost and also by accessing it from a client machine using IP address of the machine.
If step 3 works and the sample website works fine, then change the port of the sample website to the non-working one.
if step 4 fails, you need to concentrate in opening the port. You can also verify if the port is open or blocked by using a tool called PortQueryUI - Download it here
Let me know if you have any follow up questions.
Seems like it was an issue with my IP address which was dynamic, In beginning I tried and assumed that I've configured the static IP successfully but unfortunately couldn't. Now we are going to buy a static IP for our Website.
I have two websites hosted on the same server via IIS. The two websites thus have the same IP address and use the different ports. And this is how we differentiate the two.
We are in the process of DNS mapping the two URLs, but the team that handles this, says that it cannot incorporate the port number in the URLs.
Is there way from IIS to identify the particular website from the URL itself and direct it to the same?
UPDATE: I tried adding new IP address, but the newly added address doesn't show up in IIS site bindings.
You can bind multiple sites with same IP address & Port.
But you need to configure host header in site binding.
Refer this link.
http://blogs.msdn.com/b/varunm/archive/2013/06/18/bind-multiple-sites-on-same-ip-address-and-port-in-ssl.aspx
hope this will help
I would like to know how to access websites by IP address in a server that hosts more than one web application?
Currently I can get the IP address of the server, but it points to one site by default. Is there a prefix or suffix that I can add to the IP address to get a particular website in the server?
Eg: I would like to access by IP address:
http://mysubdomain1.domain.com
http://mysubdomain2.domain.com
http://mysubdomain3.domain.com
The server hosts many ruby on rails web apps via nginx and unicorn.
Thanks in advance.
Assuming that the server has one public ip address, and been set up to serve virtual hosts, you can do that like this:
curl -H "Host: subdomain.domain.com" IPADDRESS
I don't think your question has enough information to be answered accurately not in depth.
Here are some thoughts.
There are different ways in which websites can be hosted. Via IP, aliases, named virtual hosts, etc.
There's a good chance that the server that's hosting those websites uses named based virtual hosts https://www.digitalocean.com/community/articles/how-to-set-up-nginx-virtual-hosts-server-blocks-on-ubuntu-12-04-lts--3
That is, one ip points to multiple servers. In that case, the only way you can get to it, is by knowing the domain name.
Here's more or less how it would work
User requests http://mysubdomain1.domain.com
Server with single ip has an entry for that subdomain1 and forwards requests to it.
I am in the process of creating a Ruby on rails portal
This portal requires a lot of data feeding by the site owner's back-office personnel.
My client has this problem :
the office staff should not be able to access the back office interface from any other than his office computers
I have no idea how to achieve this. Is there a method for this?
Thanks in advance.
Edit:
Is tracking the Mac address a good solution.? is it possible if a ok?
I don't think that you should do anything in rails - this should be configured elsewhere. If rails is running on Apache then see mod_access.
The best way to set this up is to have the app hosted INSIDE the organisation's firewall. Best option - server lives inside the company on a subnet isolated entirely from direct internet access.
If you currently host outside the company, you can set up a firewall that prevents access from unknown IP addresses. You would only accept requests that come from the company's IP ranges. Ideally, you do this at the host/operating system level.
If that can't work, you can do add to your Rails authentication - detect the IP address of the request and if it is not in the company range, prevent access.
found a solution. Using a java applet one can access the machine's hardware details including MAC address. am using this idea.