View Full Version : SUB domain questions
guidom64
09-15-2007, 10:19 AM
:) Does a subdomain work like a independent Website, i.e. exist there as well a index.htm page ?
Expl. I'v got www.free.mydomain.com/free (this is what I got over cPanel)
and how would I have to link to it ??
www.free.mydomain.com/free/index.htm ??
I.e. - I name the page in my builder as well free/index.htm , right ??
Are the Search Engines accepting this as a independent Website (for a registering) or it's enough if I register just the main domain ?
Thanks for the answers
I don't really understand the question but I can tell you that apache and all web servers automatically look for "index" as the main page.
IE, you can point your browser to /free and your site will load, assuming index is set up with all the proper code to display your first page. As long as the extension is recognized, this will occur.
php, asp, htm, html, etc.
If you want to have your first page be say, something.html, the simplest solution? Use a redirect code. That's what I do for my site, so I don't have to edit anything with my domain, and it still leaves the main folder open for anything else I want to do.
For archeron.org I use:
<meta HTTP-EQUIV="REFRESH" content="0; url=http://archeron.org/blog">
This simply tells the browser, in 0 seconds once archeron.org is loaded, redirect to archeron.org/blog
Just save that as index.html, and upload it to the necessary folder, with the necessary code edited.
I hope this helps, if not I check back often :)
guidom64
09-15-2007, 01:27 PM
Mark, thanks for your answer
Perhaps I try to explain again. I have my main domain done, all OK, with index.htm and several other pages. But for a part of my Website I would like to create a special page, which I can use for advertising a special area at my Website. Obviously after visitors get in, they CAN access my Homepage as well if they like to do this. I would like to advertise with with this in forums etc. a free help guide who is part of my Website.
So I set up subdomains over cPanel.
A subdomain is www.free.bonus-webhosting.com/free
Now again my question.
This works like a independent Webpage ? do I need to add a index.htm to this subdomain ? if yes would this look like
www.free.bonus-webhosting.com/free/index.htm ?? Or will this give a confusion with my index.htm at my main domain ?
And will the Search Engines accept the register of such a subdomain ?
Hop I could make myself clear now
Regards
Now again my question.
This works like a independent Webpage ? do I need to add a index.htm to this subdomain ? if yes would this look like
www.free.bonus-webhosting.com/free/index.htm ?? Or will this give a confusion with my index.htm at my main domain ?
And will the Search Engines accept the register of such a subdomain ?
Hop I could make myself clear now
Regards
Yes, this is a separate folder on your server which means it is an entirely separate area. So yes, this is an 'independant web page'.
Yes, you will need an index file so the sub domain has something to load. No it will not interfere with your main web page.
Yes, search engines will accept /free without the index.htm part.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.