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.
You just want to post your website on iis, or you want to put a dns address (www.agendament.com.br) together?
– Randrade
@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.
– pnet
What is your website on? Web Forms? Asp.NET MVC? Asp Classico, or any other? For me to elaborate a response.
– Randrade
web Forms. It’s just a test I’m doing here, to learn how to set up IIS
– pnet