so currently i am working on a wordpress site with webmatrix, and would like to view my progress in another computer in my network (at my workplace)
i want to either add the files to a shared drive for everyone on the network to view, or publish it locally with iis hosting
for the first method, i tried to change the url under settings from localhost:0000 to mycomputerIP:0000 but it did not work
for the second method i tried to enter the credentials of iss in the other computer into settings under publishing, so that it can be published locally, but it also did not work
i have looked for solutions online, but nothing seemed to be able to fix it, i am sorry for the vague description, but if anyone would like to help me i can provide more information
You should be able to follow the instructions at the following link to make sure everything is setup correctly:
http://blogs.iis.net/vaidyg/archive/2010/07/29/serving-external-traffic-with-webmatrix-beta.aspx
Edit
If you are using Windows Vista, 7, 8 or 8.1 you could look at installing a local copy of IIS and creating a virtual server for your WebMatrix site. It's not as much work as it sounds and it will give you a full management console, host name bindings and all kinds of other advantages. The following link should get you started:
http://www.howtogeek.com/howto/windows-vista/how-to-install-iis-on-windows-vista/
Related
For testing/learning purposes I've been trying to publish a website(build in asp.net) in IIS on windows 10. I enabled everything, made everything as saw on Microsoft tutorials, and youtube tutorials, yet, it seems its not working.
I try to access it thru the Site name I specified, and IP. but its not working.
this is the error keep getting
"This site can’t be reached
projectmms.com’s server DNS address could not be found."
NOTE: projectmms.com is the name/url I specified for the website.
Why is this error keep showing up? I made everything as seen in those tutorials.
and have checked many answers here from other posts, followed the same suggestion and nothing is working. Any suggestion?
EDIT:
after made what few of you requested, this is what I get. This is not my asp.net website.
even tried projectmms.com/default.aspx , it shows that it didn't found the page.
any help?
This is what shows now
You need to add projectmms.com in your hosts file.
add this in C:\Windows\System32\Drivers\etc\host
projectmms.com Your_Server_IP_Address
That will work locally.
You need to add projectmms.com domain to your host file (windows\system32\drivers\etc\host) and forward to your local IP (127.0.0.1).
This should be a comment, not a reply as you give us little to no info.(but I need 50 rep in order to do so)
Is the IIS in your machine or a remote one.
Did you add the name in the DNS server or the HOSTS file.
Do you reach the machine by ping (hostname/ip)?
Did you start the ISS service?
P.S.Ask if you don't understand any of the above points.
Using IIS Express you can only local host access, you have come to enable IIS on Windows resources?
see
http://www.howtogeek.com/112455/how-to-install-iis-8-on-windows-8/
http://www.iis.net/learn/install/installing-publishing-technologies/installing-and-configuring-web-deploy-on-iis-80-or-later
I'm trying to figure how how/if it's possible to add a blog to a subfolder on an existing azure site.
BlogEngine seems like it would be a good choice since it's written in .net and from what I've read easy to setup as a standalone site on azure.
The problem I'm running into now is how can I setup my sub folder /blog as an application in azure. I know locally you can just pull up IIS and rightclick -> convert to application. But is there something I could put in the web.config or publish settings that would achieve the same thing?
Right now I'm getting an error message because /blog has it's own web.config file.
If there's an easier way or I'm thinking about this wrong let me know that too :-)
Thanks,
Andrew
EDIT
I contacted azure supported and they suggested I upgrade from a azure web site to a azure VM.
At this time there isn't a good way to run a full fledged blog engine side by side with an azure website without setting up a VM.
I ended up pulling from a google blogger blog using their data API. Not exactly what I was wanting to due but I couldn't take on the extra cost associated with a VM solution.
my friend have a site whole written in aspx (i dont know much about it).
we are trying to switch his web-hoster. we opened a new account (in a web-host site that supports everything we need) and moved all the files AS IS to the new web hoster.
now we get a:
Directory Listing Denied
This Virtual Directory does not allow contents to be listed.
what where we doing wrong? is there anything we need to concider besides putting the files in the new web-hoster...?
thanks.
Try http://yourwebsite.com/yourwebpage.aspx if this works then your deployment is correct. Now what you want is set the default page to "yourwebpage.aspx" as already commented by Brandon. Different host service provide different ways to do this. First let us know if http://yourwebsite.com/yourwebpage.aspx works. Also provide your host service provider name will look into their documentation and tell how to setup default page
It sounds like the website could have been running a url rewrite module which would require the server to pass all requests via asp.net using wildmapping.
http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/5c5ae5e0-f4f9-44b0-a743-f4c3a5ff68ec.mspx?mfr=true
There are different ways this is handled depending on the version of IIS you are using. There is also limitations on this depending on your hosting environment.
A couple of questions that might help identity the issue
Was the previous hosting environment shared or dedicated/virtual
Was the previous hosting environment Windows 2003/IIS 6 or windows 2008/IIS 7
Is the new hosting environment shared or dedicated/virtual
Is the new hosting environment Windows 2003/IIS 6 or windows 2008/IIS 7
Before and application can run, you need to specify that the folder is an asp.net application. There should be a way to do this through your control panel, if not contact the vendor
I have a WebForms application hosted in IIS 7. When I run the site from Visual Studio 2010, my static content all loads perfectly. We have the same site hosted in another production environment and the site works great there also.
However, when I am trying to host the site in a new production environment, it is giving me a status code of 302 Found whenever it attempts to load the static content.
When I open up Chrome's Developer Console and look at the network, it shows this:
/login.aspx?ReturnUrl=%2fjs%2fjquery.js
This leads me to believe that something in IIS7 is forcing authentication to occur on static content. Is there anything I should check to see what the likely cause of this problem is?
Ok, for whatever reason, I had to add the IUSR user and give it access to Read on my web apps. I am not sure what changed that made this a requirement. If anyone knows, please feel free to add comments.
If you set the same permissions as for wwwroot folder the problem disappears:
Users and IIS_IUSRS - read access
I have an ASP.net Website. the project' content is in a folder called MyWebSite.
When I run my application from Visual Web developer 2008, the browser displays the following address in the address bar:
http: // localhost/ MyWebSite /Default.aspx
I want to be able to run my Website from the following address:
http://localhost/
Can anyone help me please?
Thanks in advance.
Since it is already running on IIS, I would just change the Physical Path of the Default Website. The original value for this field is something like below in IIS7.
%SystemDrive%\inetpub\wwwroot
If you change this field to the path of your MyWebSite folder than you will be able to access the web site from just http://localhost.
I have seen it recommended to change this value from its default as a means of better security. However, I am trying to think of any drawbacks to doing this and the only one I can think of is that hard coding the path might cause some of your other development relative paths to be confusing.
You can go in and change the bindings settings in IIS but I advise against this. If you deploy your site as is, it should resolve correctly on a hosted server (the way you want it). Try this first and see :-)
Create a new website on IIS named MyWebSite, then in Visual Studio do a File->Open->Website. Choose Local IIS and select your website.
Then it will just run it under what ever name you gave the website. In this case you could make it http://MyWebSite/
Note: running Vista and Windows 7 will need elevated privileges.