|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
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 |
|
#2
|
|||
|
|||
|
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 |
|
#3
|
|||
|
|||
|
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) |
|
#4
|
|||
|
|||
|
domain.com. IN A 192.168.0.1
www CNAME domain.com.
__________________
-- Anthony E. Web Developer, SEO Expert, System Administration Resume 408.656.2473 |
|
#5
|
|||
|
|||
|
Quote:
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 |
|
#6
|
|||
|
|||
|
sorry,
www IN CNAME domain.com. works for me. |
|
#7
|
|||
|
|||
|
>> 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. |
|
#8
|
|||
|
|||
|
...all the documentation talks about cname, why is it unreliable? I've never read any info about this.
|
|
#10
|
|||
|
|||
|
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.... |
|
#11
|
|||
|
|||
|
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? |
![]() |
| Viewing: Dev Shed Forums > System Administration > DNS > configure server to load site with "www" or not? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|