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.