Configure site in IIS in Windows 8

2

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

  

1) I installed IIS on my computer.   2) In the left pane of IIS,   I went on site, right and set up new website.   3) I chose a name for   the Site and a host name (www.agendamento.com.br)
  4) I copied the   published files to a folder and I chose this folder as the folder   Working with IIS.   5) I startei the site.
  6) I opened the browser (Chrome) and   I have typed: www.agendamento.com.br.   7) The IP put all not   assigned and the posta left the default of it (80).

When I type the URL, nothing comes.

What else should I do?

    
asked by anonymous 23.07.2015 / 20:47

1 answer

5

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

If you want this to be accessible on the internet, you should register this domain in a public agency to be available in public DNS all over the internet. The domains with final .br are registered in the Registro.br . But this domain is specifically locked for registration and can only be used internally (I really do not advise using a domain that should be publicly private.)

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 would 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 insist on the way you're using, install MaraDNS . This has the advantage of being able to access on another computer as long as the DNS client on the other computer is pointing to this server.

Another mambembe possibility would be to change the hosts file. It's in:

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 it is on the same machine. I would do this in this precarious case.

If you go to another computer, just change the IP to this computer (let's assume that IIS is on the computer with 192.168.0.103 IP):

192.168.0.103       meusite.teste

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

    
23.07.2015 / 21:06