LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices

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

Rep: Reputation: 73
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, 06:13 PM   #2
kbp
Senior Member
 
Registered: Aug 2009
Posts: 3,758

Rep: Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644Reputation: 644
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 'www.company.com' might be an apache vhost on 'web01.company.com' ... 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.
 
  


Reply


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 06:02 AM
How to install web server and host a web site swamybsv Linux - Server 3 05-25-2009 01:28 PM
web file viewer for apache based web server? zerobane Linux - Server 8 03-11-2009 06:43 AM
can't connect to my web server from the host badengineer Linux - Server 9 06-04-2007 07:29 PM
setting up password protected web forms on an apache web server AZDAVE Linux - Security 3 07-07-2004 01:03 PM


All times are GMT -5. The time now is 08:44 PM.

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