DNS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me

The Shed is going Social! Join us on FaceBook and Twitter and chime in on the conversation.

Go Back   Dev Shed ForumsSystem AdministrationDNS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old August 30th, 2002, 08:53 AM
bliss322 bliss322 is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2001
Posts: 52 bliss322 User rank is Lance Corporal (50 - 100 Reputation Level)bliss322 User rank is Lance Corporal (50 - 100 Reputation Level)bliss322 User rank is Lance Corporal (50 - 100 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 13
Question configure server to load site with "www" or not?

i'm running iplanet on a sun server... how do i configure the server so the website will load whether or not "www" is in the address?

i.e. www.website.com or website.com would load the site. presently, only www.website.com works.

thanks

Reply With Quote
  #2  
Old August 31st, 2002, 05:21 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
First off I don't know anything about iplanet. As far as the Apache way, you can set
Code:
ServerName www.website.com
ServerAlias website.com
For the DNS way create an A record for website.com to point to the same IP address as www.website.com and given www.website.com is the default site of your iplanet server.

Reply With Quote
  #3  
Old September 1st, 2002, 02:59 AM
Paulblo Paulblo is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2000
Location: San Jose, CA
Posts: 58 Paulblo User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 14 m 9 sec
Reputation Power: 13
Possible Help

I like FreeBSD do not know iplanet, but if you are usin bind then all you have to do is make sure the www and . entry are pinting to the same ip/webserver. That is half of the problem solved, you will just have to add a virual host in Iplanet and point it to the same directory.

Hope this helps. :0)
__________________
Thank you,

Paul B Hepworth

Questions & Answers http://www.lds.org

Reply With Quote
  #4  
Old September 27th, 2002, 12:38 PM
chovy chovy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Los Gatos, CA
Posts: 42 chovy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 56 m 57 sec
Reputation Power: 13
Send a message via Yahoo to chovy
domain.com. IN A 192.168.0.1
www CNAME domain.com.
__________________
--
Anthony E.
Web Developer, SEO Expert, System Administration Resume
408.656.2473

Reply With Quote
  #5  
Old September 27th, 2002, 06:27 PM
mezz mezz is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Oct 2001
Posts: 310 mezz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 12
Quote:
Originally posted by chovy
domain.com. IN A 192.168.0.1
www CNAME domain.com.

No, there's no such of CNAME.. Use IN A record instead CNAME.

domain.com. IN A 192.168.0.1
www.domain.com. IN A 192.168.0.1

Reply With Quote
  #6  
Old September 30th, 2002, 11:39 AM
chovy chovy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Los Gatos, CA
Posts: 42 chovy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 56 m 57 sec
Reputation Power: 13
Send a message via Yahoo to chovy
sorry,

www IN CNAME domain.com.


works for me.

Reply With Quote
  #7  
Old October 7th, 2002, 09:05 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
>> works for me

It works for you but it doesn't always work for others who query your nameservers. If you want to increase the reliability just don't use CNAME from now on.

Reply With Quote
  #8  
Old October 7th, 2002, 11:17 AM
chovy chovy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Los Gatos, CA
Posts: 42 chovy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 56 m 57 sec
Reputation Power: 13
Send a message via Yahoo to chovy
...all the documentation talks about cname, why is it unreliable? I've never read any info about this.

Reply With Quote
  #9  
Old October 7th, 2002, 11:37 AM
freebsd freebsd is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jan 2001
Posts: 5 freebsd User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
here and here and if you search google, the are dozen more.

Reply With Quote
  #10  
Old October 20th, 2002, 10:24 PM
Pointman Pointman is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 1999
Posts: 52 Pointman User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 14
I wish more people would remember to include the non-www entries. It astounds me how many times I find large/successful/commercial sites that do not, and trying to access domain.com instead of www.domain.com gives a "host not found" error..

sloppy sloppy....

Reply With Quote
  #11  
Old October 21st, 2002, 11:17 AM
chovy chovy is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2000
Location: Los Gatos, CA
Posts: 42 chovy User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 56 m 57 sec
Reputation Power: 13
Send a message via Yahoo to chovy
as to the www. not being implemented...can't you have this done at the apache level too?
by adding the ServerAlias directive?

ServerName domain.com
ServerAlias www.domain.com


would you also need a www. dns record in addition to this?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationDNS > configure server to load site with "www" or not?

Developer Shed Advertisers and Affiliates



Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 


Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.

© 2003-2013 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap