I am having a torrid time trying to figure out why I cannot display http://localhost in the web browser.
I keep getting the 404 not found error. I tried looking in the wwwroot folder and added the http://localhost/iisstart.html still nothing happened.
There is a web service and a web application added to the default web site and I am not sure if this has something to do with this but all this worked fine previously.
Related
I'm trying to deploy my symfony app on a Shared Web Hosting server, so without any SSH access.
I've followed this tutorial : https://medium.com/#runawaycoin/deploying-symfony-4-application-to-shared-hosting-with-just-ftp-access-e65d2c5e0e3d
But i've done until the end and my homepage returns me just a 403 error, and every other url gets me a 404.
It looks like i've got to modify my .htaccess file, but apache-pack doesn't create one for me and the things i've found on internet doesn't work.
Does anyone can help me ?
Thanks
When running a polymer-shop-app on localhost I can go to localhost:8080/page and it loads, as well as on a page refresh.
However, once deployed in IIS, I can navigate to localhost:8080/page through the app, but one a page refresh I get a 404 - File or directory not found error.
Is there something that can be set within IIS to change this behavior and properly load the route and route data on a page refresh.
I have built an Umbraco project (7.2.2) on my local machine and it all works well. I now want to copy it to our test server running IIS 7.5.
I have created a Virtual Folder in IIS under the default web site and copied the project across. The url I am using is www.ourserver.com/testumbraco. I can access the content ok but if I try to login to edit the content I get a blank page (umbraco#/login/false) and shortly afterwards it returns to the login page with Session timed out.
If I Inspect the page I can see that some resources have failed to load with Error 404. It is looking for www.ourserver.com/umbraco and not www.ourserver.com/testumbraco/umbraco.
Is there a configuration setting I need to change to make this work properly?
Thanks in advance for any suggestions.
You need to update the umbracoPath setting in the web.config
I have been working with IIS 7 for a while and it has worked fine until it just suddenly started throwing 404 errors for my multiple websites even though they actually exist. All of the configurations seems fine (path, default document) but not a single file, no matter the format or location will be loaded.
Another strange thing is that everything works when I try to access the websites via localhost or 127.0.0.1 but not through my external IP.
Does anyone know why this could happen and how I can fix it?
Edit:
It appears this 404 page is not the built in IIS error page. It is associated with nginx but I'm not sure where the file is located on my server or why my pages are being intercepted.
It turns at the server was hijacked by Morfeus F***ing Scanner, which I was not aware was even a thing until this happened. It's activity showed up in the server access logs. I basically had to reset the entire server. It was quite a chore.
I've got so far with this and hit a brick wall. I have set up 4 web sites on one server in IIS:
Default Web Site (myserver.mydomain.com)
D:\websites\default\
Apple (apple.mydomain.com)
D:\websites\apple\
Orange (orange.mydomain.com)
D:\websites\orange\
Pear (orange.mydomain.com)
D:\websites\pear\
I have configured the site bindings using the command line as per this guide and it now looks like I want it to. When I do appcmd list sites it returns the following:
SITE "Default Web Site" (id:1,bindings:net.tcp/808:*,net.pipe/*,net.msmq/localhost,msmq.formatname/localhost,https/*:443:,state:Started)
SITE "apple" (id:2,bindings:https/*:443:apple.syfire.gov.uk,state:Started)
SITE "orange" (id:3,bindings:https/*:443:orange.syfire.gov.uk,state:Started)
SITE "pear" (id:4,bindings:https/*:443:pear.syfire.gov.uk,state:Started)
Results:
"myserver.mydomain.com" returns the error Server Error in Application "DEFAULT WEB SITE"
HTTP Error 403.14 - Forbidden
The Web server is configured to not list the contents of this directory. despite there being a Default Document configured (index.html). EDIT: If I switch Directory Browsing on it shows the contents of D:\websites\default\ (as it should) and I can navigate to index.html, but when it's off it can't seem to find the file itself.
"apple.mydomain.com" works fine and shows the default page stored in D:\websites\apple\.
"orange.mydomain.com" and "pear.mydomain.com" return error Server not found (Firefox), Internet Explorer cannot display the webpage (IE).
I'm sure I've missed something critical to this operation! Thanks.
Try replacing * with the ip address that you are listening on. This is what I used to get something similar to work in IIS 6 on Windows 2003.