I have a domain name "example - somedomain.com" AND i have a server i setup On my PC windows 10 running in IIS so if you would go to "example - www.somedomain.com" you would get to my site. I have xfinity-comcast and if i would type www.somedomain.com i would get an error but http://localhost works just fine i see my site. can anyone help me so when i type the .com name i see it on my PC... i see the site not using my wifi connections. Thank you
Related
I am newer to IIS so please forgive my ignorance. Here is my situation. I have a backend server that resides on ip xx.xx.xx.175 from here I have all my code and IIS installed here. I created a website and can access it just fine using localhost:3000. When I go to the frontend server which resides at xx.xx.xx.174 I cannot connect to the site using the URL.
I have updated the bindings, I have updated the firewall rules, I have also used netsh http add iplisten and I still cannot connect to the site. I am not sure where else to go from here as all of my Google searching lead me to the same things.
Please make sure you have added the ip address in the host file:
Open your text editor in Administrator mode.
In the text editor, open C:\Windows\System32\drivers\etc\hosts.
Add the IP Address and hostname. Example: 192.10.10.5 testserver.com.
Save the changes.
I developed an Application locally with Angular-7. Eventually, I deployed it to the IIS of a VPS server with IP address 20.20.20.20 (not the real IP). When I run the application as 20.20.20.20, it works perfectly.
Now I want to access the Application with customized name (ePortal). So on the IIS of the VPS server, I made the Host Name to be ePortal. When I typed http://jPortal on the browser url, I got an error that the page cannot be displayed and the url does not exist.
How do I resolve this?
If you want to see your desired name on your local computer only please go to
c:\windows\system32\drivers\etc
And open hosts file using note pad having admin privilege.
and add your IP And your desired name to file and save it.
Now you can browse your server by the name you defined.
I used Visual Studio and IIS to successfully deploy a web project to the localhost. Go to localhost on port 51? Great, it pulls up. Wonderful.
Then I tried to add a binding so I could type in "example:51" and it would pull up the website. I then got the following error in chrome:
This site can’t be reached
example’s server DNS address could not be found.
ERR_NAME_NOT_RESOLVED
Looking around, some answers said to alter the hosts file in Windows. I did that, and it solved everything. I type in "example:51", I'm directed to localhost, which pulls up the website.
Then I completely removed the "example" binding from IIS, and it still worked fine. I wasn't so much adding a binding as changing the way "example" is interpreted. It also sends me to localhost on every other port as well, including 80, which I don't think a binding would have done.
So now I'm thinking I didn't solve the bindings problem correctly. Should I have done something differently?
IIS bindings tell IIS how to respond when it receives a request for a specific hostname.
You probably have IIS configured to respond with your site regardless of hostname, so that doesn't matter.
IIS bindings have nothing to do with DNS or name resolution, which is how the browser knows that example should resolve to your host.
I am completely newbie with IIS. I have Win2008 with IIS 7.5 installed. I can start "Default Web Site" via IIS Manager GUI , but I get "HTTP 404 error - webpage cannot be found" while trying to browse it. What webpage is expected ? I have index.htm & default.aspx under c:\inetpub\wwwroot ... Also , I am not sure where to look for the logs. What is the best way to troubleshoot? Thanks for you help!
Are you sure you are accessing you website through out the good port? Check in your IIS configuration for your default web site, maybe it is not set to port 80 (which should be the default).
Also, many other programs like Skype may use this port already and IIS is not able to activate the website because the port is already in use.
You should try to set the IIS default website port to something else than 80.
Give it a try!
Check your default website mode, I guess its process was stopped. Try to restart the process. If you get any "Process is being used" error, try to close the exe's like skype of any third parties which refer the 80 port.
I am in the process of migrating an existing webserver running IIS 6 to IIS 7. I have setup the new websites on the new server but cant seem to test them as once I have entered the domain name when I selec t "browse" from within IIS 7 I get the site on my original server. How can I test the configuration of my new sites on my new server before migrating the domain names (eg updating the DNS records etc.)?
Any help much appreciated.
On the server, edit the hosts file to force the server into thinking the website is located on its self, instead of the IIS6 server.
The hosts file is located at C:\WINDOWS\system32\drivers\etc\hosts.
Just add a line in like:
192.168.0.1 www.mywebsite.com
where 192.168.0.1 is the IP address of the IIS7 server, and www.mywebsite.com is the website address to test.
Then restart Internet Explorer and enter www.mywebsite.com (or browse from within iisadmin) again, and it should give you the IIS7 site.
You could also do this on your PC and leave the server alone.
Don't forget to remove the line from your hosts file when you're done!