Configure site in IIS in Windows 8

I have Windows 8 installed in my home. I made a website 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. These were the steps:

1) I installed IIS on my computer.
2) on the left panel of the IIS, went on site, right and set up new Site.
3) I chose a name for the Site and a hostname (www.agendamento.com.br)
4) I copied the bone published files to a folder and I chose that folder as the folder of IIS work.
5) I started the site.
6) I opened the browser (Chrome) and I typed: www.agendamento.com.br.
7) the IP put all not assigned and the post I left his standard (80).

When I type the URL nothing comes.

What else should I do?

Author: Maniero, 2015-07-23

1 answers

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 on it.

If you want this to be accessible over the internet, you must register this domain with an official body to be available in public DNS at the whole internet. Domains with ending .br are registered in 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 the fixed IP such as No-IP .

But I think you just want something internal, so simply 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, install 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 mambembe possibility would be to change the file of hosts . It stands at:

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

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

127.0.0.1       meusite.teste

Or if you ask:

127.0.0.1       www.agendamento.com.br

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

If you are going to access on another computer, just change the IP to this computer (let's assume that the IIS is on the IP computer192.168.0.103):

192.168.0.103       meusite.teste

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

 5
Author: Maniero, 2015-07-23 20:06:46