1
script_fu
How do you get www2.somesite.com or www3.somesite.com?

I've been trying to figure out how to search for information
regarding www1. thru www15. and how that works. Does anyone know how this is done?

2
DonXoop
Re: How do you get www2.somesite.com or www3.somesite.com?

I'm not sure what you are trying to do. Simply trying to set-up sites with names like ww1, ww2, etc? That is only a DNS configuration. Hostnames are arbitrary and can be anything.yourdomain.com . www is just a name and nothing magical either. games.yourdomain.com is technically no different than http://www.yourdomain.com.

So if that is the question then it is only a matter of configuring your DNS server and creating the names as you desire. We need more information about your goals and then what capabilities you have with the DNS (either you have control over it or someone else does).

3
script_fu
Re: How do you get www2.somesite.com or www3.somesite.com?

Correct me if im wrong but there is more than just one world wide web.

www.
www1.
www2.
www3.

And so on...

http://wwww.pair.com
http://wwww1.pair.com
http://wwww2.pair.com
http://wwww3.pair.com

I was trying to figure out how this is achived.
Some sites will pull up under this system and I thought
it would be neat to do with my sites.

I understand what your saying with subdomains under cpanel.
I just thought there was more than one world wide web...

4
script_fu
Re: How do you get www2.somesite.com or www3.somesite.com?


5
DonXoop
Re: How do you get www2.somesite.com or www3.somesite.com?

For now there is one internet and one world wide web. The www, ww2, www2, etc. etc. has no meaning except it is a name. Don't confuse sub-domains as mentioned on a web host with a http://www.yourdomain.com, they are the same thing. Where you point those names can be different or the same.

So if you wanted to have ww1, www1, www2, jokes, anything, you just need to create it in DNS and point the IP where you wish. If you wanted to have all the variations point to the same website the usual method is a CNAME entry.
I.E.:
yourdomain.com a 192.168.1.1
http://www.yourdomain.com CNAME yourdomain.com
ww2.yourdomain.com CNAME yourdomain.com

This makes all of them point to the same server. I don't know Cpanel but I think the equivalent is a "parked domain". If you can't do that in Cpanel for variations in name like ww2 or if creating a "sub-domain" as they call it can't point to the same server (vs a sub directory) then that is a limitation of Cpanel or the ISP. Many sites will have a variety of names and domains all pointing to the same server. But the path and protocol is the same. "Smoke and mirrors".

6
LazyBadger
Re: How do you get www2.somesite.com or www3.somesite.com?

If you want to resolve any non-existent hostname in your domain into single host you have to write in zone definition something like

www IN A 1.2.3.4
* IN CNAME www

7
jmass
Re: How do you get www2.somesite.com or www3.somesite.com?
  • 2004/12/8 18:45

  • jmass

  • Friend of XOOPS

  • Posts: 524

  • Since: 2003/12/18


It is true that a host name is a host name is a host name.

Sub Domains are no different, like it explained above.

However, in the past we did a kind of neet thing with them.

client1.obscorp.com
client2.obscorp.com

each pulled the same site customized to the client.

We stopped that, but it was kind of cool.

Login

Who's Online

349 user(s) are online (236 user(s) are browsing Support Forums)


Members: 0


Guests: 349


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits