No, you don't have to register a domain to use apache like you want. It should tell you on the apache web site how to set it up.
I used it the way you want to along time ago but I don't remember the set up at this time.
I have downloaded Apache for the Windows operating system and have read the installation documentation and I have a question: Do I need to register a domain name before I install Apache?
I am getting Apache, by the way, so that I can:[list=1][*]Edit and debug PHP without having to upload to a sever constantly.[*]I can use Source Safe on my home computer. This is a somewhat long story. But, basically, Source Safe requires either IIS or Apache and IIS does not exist for Windows XP Home Edition.[/list]
Anyway, in the installation documentation for Apache, it reads:
[quote]Run the Apache .msi file you downloaded above. The installation will ask you for these things:
[list=1][*]Network Domain. Enter the DNS domain in which your server is or will be registered in. For example, if your server's full DNS name is server.mydomain.net, you would type mydomain.net here. [/list][/quote]
Do I need to register a domain name before I install Apache?