Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 01-11-2011, 04:52 PM   #1
Senior Member
Registered: May 2004
Location: Orlando, FL
Distribution: Arch
Posts: 2,905

Rep: Reputation: 77
Question Host Names For Apache / Web Server?

I'm just curious if it's acceptable / good practice to name my Apache web server 'www' as its hostname? I've named my web server 'www' as its hostname & am wondering if I should have instead name it 'web1' or something beyond 'www'? Obviously I can create a CNAME / alias from 'web1' to resolve www.mydomain.tld rather than web1.mydomain.tld.

Thanks for correcting me or any info.
Old 01-11-2011, 05:13 PM   #2
Senior Member
Registered: Aug 2009
Posts: 3,790

Rep: Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650Reputation: 650
There's no reason you can't make the hostname 'www' but personally I keep the actual names different so there's no confusion. So for example '' might be an apache vhost on '' ... it makes it easier to shuffle sites/servers around as well - depending on your DNS config you may find it difficult to move the site to a different server if the name matches.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to host web site on Apache LINUXQueAns Linux - Software 3 11-09-2010 05:02 AM
How to install web server and host a web site swamybsv Linux - Server 3 05-25-2009 12:28 PM
web file viewer for apache based web server? zerobane Linux - Server 8 03-11-2009 05:43 AM
can't connect to my web server from the host badengineer Linux - Server 9 06-04-2007 06:29 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 12:03 PM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 07:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration