Linux n00b Server Question
I don't really know very much about Linux networking at all here, so be forgiving. I started experimenting with Fedora Core 4 and Apache last night, and added some code to the /var/www/html directory. Everything works well, but every time I want to view pages, I have to enter my IP address into a web browser. I'm wondering if there is a way to have an actual site name instead of the IP number for a site.
Re: Linux n00b Server Question
If you have a static IP, if you give your system a name with an entry in /etc/hosts, like so:
Originally Posted by chopin1810
then you should only need to use 'http://chopinsblock/' as the address and you should see the index page in /var/www/html
- x.x.x.x chopinsblock chopinsblock
(This is only an in-house solution: useful for working with web pages without making them available to the entire world.)