Difference between * & *www

Status
Not open for further replies.
T

titun

Guest
I know this is a silly question, but I should not fear to accept that I don't know something.

So can anyone explain me why some URLs have only *domainname & others have *www or even now-a-days I noticed *www# where # is some number.

What exactly the system behind such URLs?


Any text, link would be useful.
 
OP
T

titun

Guest
So how this entire website hosting process happens, as it seems u offer webhosting.....so what are the steps?

Client contacts u, register a domain name and web space, then what is the URL allocated to him/her? Is it *domain.extension or *www.domain.extension ?
 

techtronic

I Always Prefer 1080p
* means the second level domain and primary level domain only
For eg, in yahoo.com, yahoo is the second level domain and com is the primary level domain

*www.yahoo.com means www is a host/computer located in yahoo.com
Similarly mail.yahoo.com also means a host named mail is found inside yahoo.com

Simple

For more details, google DNS Host and Other Entries
 

Sukhdeep Singh

Host4Cheap.org
titun said:
So how this entire website hosting process happens, as it seems u offer webhosting.....so what are the steps?

Client contacts u, register a domain name and web space, then what is the URL allocated to him/her? Is it *domain.extension or *www.domain.extension ?

Like i said, by default both www and without www will be setup on the servers. Its upto you, if you want to edit the DNS and use www2 instead of www :)

A Pic gives a better idea
*i13.tinypic.com/48nvhas.jpg
 
OP
T

titun

Guest
Ok..so where and how this DNS system is configured? I mean as the primary job of DNS is, when a user types a website URL, this DNS converts the TEXT URL to its corresponding IP address.

So where is this DNS situated? Is it configured in every server or some central location?
 

Sukhdeep Singh

Host4Cheap.org
Its upto you, some registrar will offer you DNS services and you can use their DNS service

Otherwise, you cant point you Domain to your host. They will have DNS entries on the server. Depending upon the Control Panel at your hosting...you may be able to change DNS on your own.

cPanel - the one you see above wont allow end users to change DNS entries but a reseller can have permission to do so.

DirectAdmin - This allows end user to manage DNS entries but most hosts wont allow you this permission :)
 
OP
T

titun

Guest
Thanks for the above info.

In most cases, if I wish to visit a website, typing both *www.domain.ext & *domain.ext works. That means they have setup the DNS to show that website whether the user enters *domain.ext or *www.domain.ext

And in some cases, only *domain.ext works, but *www.domain.ext doesnot work. So does this mean in this case the DNS is not configured to show the website when *www is entered?
 

aryayush

Aspiring Novelist
When you type *www.daringfireball.net/ into the address bar, it automatically redirects to *daringfireball.net/. Why does that happen?
 

Choto Cheeta

Rebooting
When you type *www.daringfireball.net/ into the address bar, it automatically redirects to *daringfireball.net/. Why does that happen?

u may do it with 2 methonds, eithert with a simple URL redirector, or with apache mod re-write !!

in linux host u may create a file .htaccess , which can be configure to make sure any visitor which comes to www.domain.net would redirected to domain.net ([*httpd.apache.org/docs/2.0/misc/rewriteguide.html]Know more[/url]) and this is the best way to do it,

and with url redirector simple index.html files, with code,

Code:
<html>
<head>
<meta http-equiv="refresh" content="0; url=*example.com/urfile.html">
</head>
</html>

will redirect all visitors to a www less domain adrress !!
 

techtronic

I Always Prefer 1080p
aryayush said:
When you type *www.daringfireball.net/ into the address bar, it automatically redirects to *daringfireball.net/. Why does that happen?

The DNS will have aliases that redirect when u type either www.daringfireball.net or daringfireball.net to daringfireball.net

Check it out
Type nslookup in Command Prompt
Then type daringfireball.net

U will get its IP as 4.71.165.89

Now type www.daringfireball.net
U will get its IP as 4.71.165.89 (same as daringfireball.net)
 

aryayush

Aspiring Novelist
saurav_cheeta said:
u may do it with 2 methonds, eithert with a simple URL redirector, or with apache mod re-write !!

in linux host u may create a file .htaccess , which can be configure to make sure any visitor which comes to www.domain.net would redirected to domain.net ([*httpd.apache.org/docs/2.0/misc/rewriteguide.html]Know more[/url]) and this is the best way to do it,

and with url redirector simple index.html files, with code,

Code:
<html>
<head>
<meta http-equiv="refresh" content="0; url=*example.com/urfile.html">
</head>
</html>

will redirect all visitors to a www less domain adrress !!
But why go through the trouble of all that redirection? :confused:
 
Status
Not open for further replies.
Top Bottom