3 ms·
You know that you do not need to use that naming convention, right? You might as well set up domains for www.pocalhost, files.pocalhost, doc.pocalhost. Or, wh
by drostie 10y ago
You know that you do not need to use that naming convention, right?
You might as well set up domains for www.pocalhost, files.pocalhost, doc.pocalhost.
Or, why even have that part at all? You can just as easily set up the hosts record in /etc/hosts for www, and then visit http://www/ http://www/ and it should work just fine on both Windows and Linux.
- nitrogen 10y agoI'm guessing there might be a cookie or content security policy that requires testing with actual subdomains, so www alone might not work for their usecase. It's also nice to use a name that is guaranteed not to have conflicts, so localhost might be preferable for that reason.