Set up website on IIS in Windows 8

Asked

Viewed 1,432 times

2

I have Windows 8 installed in my home. I made a site in ASP.Net and C# and now I went to put it on the air. In my house, are two computers and in only one (desktop) I configured the IIS, the other is to test even. Those were the steps:

1) I installed IIS on my computer.
2) in the left panel of the OSI, went on site, right and Configure New Site.
3) I have chosen a name for the Site and a host name (www.agendament.com.br)
4) I copied the published files to a folder and chose this folder as the folder work of IIS.
5) I started the site.
6) I opened the browser (Chrome) and typed: www.agendament.com.br.
7) IP put all no assigned and the post left his standard (80).

When I type the URL nothing comes.

What else should I do?

  • You just want to post your website on iis, or you want to put a dns address (www.agendament.com.br) together?

  • @Randrade until then was not understanding that I needed a DNS server to be able to access the Host name. Now I realized that I can not do without it. By IP also I can not. What is the purpose of this? I need to learn, because I have a client who wants his application to run in his network environment only, IE, all 6 machines must access the application and so I’m testing at home, in my environment, to get there, not to be flagging.

  • What is your website on? Web Forms? Asp.NET MVC? Asp Classico, or any other? For me to elaborate a response.

  • web Forms. It’s just a test I’m doing here, to learn how to set up IIS

1 answer

5


You cannot use any domain. You need to use a domain that is configured on a DNS server. You can set up your own DNS server and configure the domain you want on it. Of course only computers that are "looking" at this DNS server will be able to see this domain configured in it.

If you want this to be accessible over the internet, you must register this domain in an official body to be available on public DNS across the internet. The domains with end .br are registered in the Registro.br. But this domain is specifically blocked for registration and can only be used internally (I don’t actually advise using a domain that should be public privately.

If you have a registered domain, you can point to your network if you have a fixed IP. Or you can use a service that replaces fixed IP like NO-IP.

But I think you just want something internal, so just set up a DNS server to have a domain of your own. I advise using something like meusite.teste instead of valid domains on the internet.

I would definitely do this on a Windows Server that has a DNS server. But if you want to insist on the way you are using it, please install the Maradns. This has the advantage of being able to access on another computer as long as the DNS client of the other computer is pointing to this server.

Another possibility for Mambembe would be to change the hosts. It gets in:

C:\Windows\System32\drivers\etc\hosts

There you add (will not erase what already exists):

127.0.0.1       meusite.teste

Or if you make a point:

127.0.0.1       www.agendamento.com.br

Of course you can also access by IP, or even localhost, if it is on the same machine. I would do this in this precarious case.

If you are accessing on another computer, just change the IP to this computer (let’s assume that the IIS is on the IP computer 192.168.0.103):

192.168.0.103       meusite.teste

Of course you may also be in trouble firewall, if so, release the IIS port on the machine where it is installed.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.