Forum     

Go Back   Digit Technology Discussion Forum > Portables, Peripherals and Electronics > QnA (read only)
Register FAQ Calendar Mark Forums Read

QnA (read only) Mods please help transfer the contents of this forum to proper sections. :)


 
 
LinkBack Thread Tools Search this Thread Display Modes
Old 03-03-2006, 06:47 PM   #1 (permalink)
Broken In
 
Join Date: Jan 2006
Posts: 105
Default two queries


suppose my computer name is "Amit-Knl" and i run http service on it. Then i know that my computer can be accessed through internet using

hItp://amit-knl.com

1) so what is www used for.

2) and will it be also accessed through hItp://amit-knl.com if it is behind a proxy server.
amitgg is offline  
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 03-03-2006, 11:56 PM   #2 (permalink)
Broken In
 
Join Date: Jan 2006
Posts: 105
Default

Please consider
amitgg is offline  
Old 04-03-2006, 02:04 PM   #3 (permalink)
In The Zone
 
::vicky::'s Avatar
 
Join Date: Feb 2006
Location: 0X4B7H
Posts: 306
Default

amit for ur 1 ques the answer is that is u dont type www or type www the www is the part of the url afaik but i really dont now ur second ques
::vicky:: is offline  
Old 04-03-2006, 02:54 PM   #4 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default

As far as the internet is concerned, the computer name is irrelevant. In order to access your website with http://amit-knl.com address (note that you appear to have misspelled http as hitp), you need to register the address with a DNS registring service (for which you will have to pay a monthly or annual fee). Then, you will have to make sure you have a static IP from your internet service provider (such as BSNL or Airtel). [Well, you can do it without static IP but the workaround is a bit elaborate].

Now, to the main part of your questions... The www is prob. not required, but that is because it is taken as default. For example, www.yahoo.com and yahoo.com will both direct you to the same site but mail.yahoo.com will direct you to a different site. This is because the address (DNS name) is read from back to front... The com is first figured and then yahoo is figured. If www is not provided, it will be assumed... But if something else is provided (such as mail in the above example), a different page from the same server is returned...

Regarding the second query, I think there shouldnt be a problem unless the proxy mechanism has been instructed to either block your site specifically or in general - but I am not very sure about this...

Arun
sakumar79 is offline  
Old 04-03-2006, 06:42 PM   #5 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

Quote:
Originally Posted by sakumar79
......
Now, to the main part of your questions... The www is prob. not required, but that is because it is taken as default. For example, www.yahoo.com and yahoo.com will both direct you to the same site but mail.yahoo.com will direct you to a different site. This is because the address (DNS name) is read from back to front... The com is first figured and then yahoo is figured. If www is not provided, it will be assumed... But if something else is provided (such as mail in the above example), a different page from the same server is returned...
It doesnt work like that...WWW is sub domain of the domain yahoo.com

When we add the domain in apache, we also create ServerAlias with name www.yahoo.com in the httpd.conf file..so this way both www.yahoo.com and yahoo.com will be same...this doesnt work on any assumption....

so if I set www as something different then people will see different content on yahoo.com and www.yahoo.com

Regards,
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 04-03-2006, 08:00 PM   #6 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default

I agree that www is a subdomain of the main site, but for most websites, is it not the default subdomain? As far as I have seen, most sites have the www subdomain and the main domain as the same...

So, will I be correct in saying that while adding www wont make a difference in most cases, it will in some cases and therefore, should be used as a good habit?

Arun
sakumar79 is offline  
Old 05-03-2006, 01:35 AM   #7 (permalink)
Version 2.0
 
Deep's Avatar
 
Join Date: Jan 2004
Location: Mumbai
Posts: 977
Default

Yup 99.9999999999% of the sites are same on www and main domain but while creating the site you have to mention that in httpd conf and if he is not aware about it then www wont work for him

Regards,
Deep
__________________
- Deep Ganatra -
www.whoisdeep.com
www.twitter.com/DeepXP/
Deep is offline  
Old 05-03-2006, 09:36 AM   #8 (permalink)
Human Spambot
 
Join Date: Nov 2004
Location: Madurai
Posts: 2,349
Default

Thanks for clarifying that... It has been a while since I worked with these things, so I guess I am a bit rusty on all of these...

Arun
sakumar79 is offline  
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by clmlbx
- by gforz
- by Who

Advertisement




All times are GMT +5.5. The time now is 04:58 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2