#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2001
    Posts
    52
    Rep Power
    14

    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
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep 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.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Nov 2000
    Location
    San Jose, CA
    Posts
    58
    Rep Power
    14

    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
  6. #4
  7. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Los Gatos, CA
    Posts
    42
    Rep Power
    14
    domain.com. IN A 192.168.0.1
    www CNAME domain.com.
  8. #5
  9. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Oct 2001
    Posts
    310
    Rep Power
    13
    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
  10. #6
  11. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Los Gatos, CA
    Posts
    42
    Rep Power
    14
    sorry,

    www IN CNAME domain.com.


    works for me.
  12. #7
  13. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep 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.
  14. #8
  15. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Los Gatos, CA
    Posts
    42
    Rep Power
    14
    ...all the documentation talks about cname, why is it unreliable? I've never read any info about this.
  16. #9
  17. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jan 2001
    Posts
    5
    Rep Power
    0
    here and here and if you search google, the are dozen more.
  18. #10
  19. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Sep 1999
    Posts
    52
    Rep Power
    15
    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....
  20. #11
  21. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Aug 2000
    Location
    Los Gatos, CA
    Posts
    42
    Rep Power
    14
    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?

IMN logo majestic logo threadwatch logo seochat tools logo