Other index.html files that my web designer created off the same root folder load up with 'www at the front though. I'm putting my ones off the same root folder.
Re: What's the diff between http:// and http://www ? by Abraham Chaffin on May 20, 2008 at 3:01:39 pm
It's an alias -
Generally when DNS is setup both the domain name and the subdomain are both setup to point to the same server, though this in fact doesn't have to be. You could set them to point to two completely different sites / servers. The server then must be setup to interpret both the domain and the subdomain to point to a folder, or not as the case may be.
Another way to answer this questions is http stands for hyper text transfer protocol which is describing the language code that will be transfered when you send the request to the domain. http://www. is referring to the subdomain extension of the domain and stands for world wide web. This subdomain is a standard alias for the domain that is used for most sites but it doesn't have to be.
domain.com and www.domain.com are in fact two different pages and when Google crawls your site will see them as such unless you have one redirecting to the other though they may be identical.
Re: What's the diff between http:// and http://www ? by frank manno on May 21, 2008 at 1:11:06 am
I know what you mean by an alias but I wouldn't know how/where to configure it.
o how do I make a page go to www.domain.com/index.html then?
I have a folder on the server called /htdocs and it's the folder that I was told by my host that I am to use for the web site.
I had a designer build a web site for me and the folder structure is all off /htdocs and all his pages when viewed on the web have www. at the front.
I made a folder off /htdocs like they did and called it test and put an index.html file in there, but when viewed on the web it doesn' thave 'www.' in the url
I was under the impression that everythign comming off /htdocs will have 'www' in front of it.
SO then what do I need to do to have my /test/index.html file show up with 'www' in the url when viewed?
Sory for the newbiew questions. I'm just trying to understand how/where this alias is set up.
Is it in the web page itself? Is it the folder structure where the web page resides?
Re: What's the diff between http:// and http://www ? by Ron Lindeboom on May 21, 2008 at 1:22:11 am
In your HTDOCS folder, you put the index.html file which is the base landing page of your site. It should show up as http://www.yoursitename.com
From there, you could add the other pages inside the HTDOCS folder and link to them directly from your index.html file or you could have folders that contain other file pages. Such as...
Re: What's the diff between http:// and http://www ? by frank manno on May 21, 2008 at 2:47:07 am
Ok I think I get it.
Yes if I put index.html in HTDOCS it shows up with 'www' which is right, thanks.
So is it at all possible, to navigate DIRECTLY to a subfolder off HTDOCS to view the subfolder's index.html file and -also- have the address with the 'www' in the URL?
For example.
Lets say you put an index.html file in htdocstest with no linking and no association to any other file or folder.
If I go to www.creativecow.net/test, will I then be at
'http://www.creativecow.net/test' or will I be at
http://creativecow.net/test'?
If I end up at 'http://creativecow.net/test' then is it possible to be at 'http://wwww.creativecow.net/test' instead without having anything in the root htdocs folder?
I'm starting to believe that htdocs is the root for 'www'. Is this right? And any subfolders off htdocs won't have a 'www'?
-Frankie
>In your HTDOCS folder, you put the index.html file which is the >base landing page of your site. It should show up as >http://www.yoursitename.com