LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 11-04-2004, 02:32 PM   #1
pyrombca
LQ Newbie
 
Registered: Aug 2003
Posts: 4

Rep: Reputation: 0
www.domain.com instead of domain.com


I havn't used apache for quite a while but I am now in charge of a webserver. right now server,domain,com works but www,server,domain,com does not. As I remember I need to do something in my /etc/hosts file and my httpd.conf file.

Can anybody help me out?

PS: I used , instead of . in order to make this post.
 
Old 11-04-2004, 02:36 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
1st you'll need to make sure the www address is in your DNS server:
dig www.domain.com

Then add a virtual host to apache or if you want to serve the same content as domain.com then you just need a serveralias.
 
  


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
Email Domain Name Contains WWW CarolinaGal Linux - Newbie 1 11-30-2005 06:10 PM
Cant get entry in bind to work with domain.com instead of www.domain.com pxes351 Linux - Networking 12 05-09-2005 06:20 AM
Domain resolves with no www... ServerStorm Linux - Software 20 11-15-2004 10:12 AM
having problems getting the www to work with my domain name slawrence Linux - Networking 2 07-04-2004 10:13 AM
The WWW part in my domain msditech Linux - Newbie 0 12-09-2001 09:36 AM


All times are GMT -5. The time now is 01:51 PM.

Main Menu
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