Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Will creating a subdomain necessarily interfere with my main index.html?

Reply
Thread Tools

Will creating a subdomain necessarily interfere with my main index.html?

 
 
InertEmployer
Guest
Posts: n/a
 
      08-23-2011
I have a main web site which I created using FrontPage some time ago.
Although it is VERY old (it looks a bit like those old text-based pre-
WWW academic sites!!), I have no need to change it.

My hosting company lets me create any number of subdomains and I have
created one using iWeb (eg newreason.mysite.com). For some reason I
cant understand, the hosting company's control panel associates a sub-
domain with an e-mail address as opposed to the site itself?? In any
event I cant figure out how to upload the pages in the sub-domain to
the host's servers and they don't appear to have any technical support
at the moment. When I try to upload pages to the subdomain, the
servers reports a problem with my password. I am trying to get this
resolved.

The reason for my post is that I was wondering whether uploading pages
in this way to my subdomain creates an index.html for that subdomain
in the root of newreason.mysite.com or does it interfere with all the
HTML in the domain's main index.html? 'Cos if it does, it sounds as if
creating a subdomain with iWeb within a site created with FrontPage
could be a nightmare? When I first created the site, I simply
imported an even earlier site into FrontPage but there doesnt seem to
be a way of importing my site into iWeb so that it both preserves (or
properly creates) the domain's index.html and lets there be a sub-
domain within/out it.

Or is the only way of doing this to re-install FrontPage onto my
computer, download the present site to my computer, upload iWeb's sub-
domain to the web and then download the sub-domain to my computer's
installed Front Page again? (then I won't, of course, be able to edit
the 'new' site in iWeb).

I dont need anything fancy whatsoever: The subdomain's pages are all
text pages which have to be shown in a certain (original) format
which shouldn't be changed and I cant jazz them up in any way beyond
having a comments box at the end of each document and implementing
Google AdSense on each page. All I need is to be able to add pages,
change and/or add to the text occasionally.
 
Reply With Quote
 
 
 
 
cwdjrxyz
Guest
Posts: n/a
 
      08-23-2011
On Aug 23, 9:41*am, InertEmployer <dmanzal...@googlemail.com> wrote:
> I have a main web site which I created using FrontPage some time ago.
> Although it is VERY old (it looks a bit like those old text-based pre-
> WWW academic sites!!), I have no need to change it.
>
> My hosting company lets me create any number of subdomains and I have
> created one using iWeb (eg newreason.mysite.com). For some reason I
> cant understand, the hosting company's control panel associates a sub-
> domain with an e-mail address as opposed to the site itself?? *In any
> event I cant figure out how to upload the pages in the sub-domain to
> the host's servers and they don't appear to have any technical support
> at the moment. When I try to upload pages to the subdomain, the
> servers reports a problem with my password. I am trying to get this
> resolved.
>
> The reason for my post is that I was wondering whether uploading pages
> in this way to my subdomain creates an index.html for that subdomain
> in the root of newreason.mysite.com or does it interfere with all the
> HTML in the domain's main index.html? 'Cos if it does, it sounds as if
> creating a subdomain with iWeb within a site created with FrontPage
> could be a nightmare? *When I first created the site, I simply
> imported an even earlier site into FrontPage but there doesnt seem to
> be a way of importing my site into iWeb so that it both preserves (or
> properly creates) *the domain's index.html and lets there be a sub-
> domain within/out it.
>
> Or is the only way of doing this to re-install FrontPage onto my
> computer, download the present site to my computer, upload iWeb's sub-
> domain to the web and then download the sub-domain to my computer's
> installed Front Page again? (then I won't, of course, be able to edit
> the 'new' site in iWeb).
>
> I dont need anything fancy whatsoever: The subdomain's pages are all
> text pages which have to be shown in a certain (original) *format
> which shouldn't be changed and I cant jazz them up in any way beyond
> having a comments box at the end of each document and implementing
> Google AdSense on each page. *All I need is to be able to add pages,
> change and/or add to the text occasionally.


The problem is that there are many variations in how web hosts are set
up, and I have no idea how the one you use works. What kind of servers
does it use, how is the control panel set up, what does it support,
etc. Most hosts have a detailed description of these things available
to users, and some also allow the general public to view this
description. I have 2 domains and a subdomain of one of them also. The
control panel for my account. allows setting up a new subdomain in the
first place, following host instructions. The two domains and
subdomain are all listed at the same level when you go to the control
panel and navigate to where domains are listed. You can select the
subdomain to set up any desired mail accounts much as you set up mail
accounts for a domain. I upload from the computer using ftp. You can
also edit a page directly on the server if you do not need to upload a
complete new page. Some support FrontPage, and some do not. I never
use FrontPage because I prefer to write my web pages the way I want
them. Without a detailed description of how to manage your account
written by the host or without direct help from the host, it could be
very difficult and time consuming to decide what you need to do.
 
Reply With Quote
 
 
 
 
InertEmployer
Guest
Posts: n/a
 
      08-23-2011
On Aug 23, 3:11*pm, cwdjrxyz <spamtr...@cwdjr.info> wrote:
> On Aug 23, 9:41*am, InertEmployer <dmanzal...@googlemail.com> wrote:
>
>
>
>
>
>
>
>
>
> > I have a main web site which I created using FrontPage some time ago.
> > Although it is VERY old (it looks a bit like those old text-based pre-
> > WWW academic sites!!), I have no need to change it.

>
> > My hosting company lets me create any number of subdomains and I have
> > created one using iWeb (eg newreason.mysite.com). For some reason I
> > cant understand, the hosting company's control panel associates a sub-
> > domain with an e-mail address as opposed to the site itself?? *In any
> > event I cant figure out how to upload the pages in the sub-domain to
> > the host's servers and they don't appear to have any technical support
> > at the moment. When I try to upload pages to the subdomain, the
> > servers reports a problem with my password. I am trying to get this
> > resolved.

>
> > The reason for my post is that I was wondering whether uploading pages
> > in this way to my subdomain creates an index.html for that subdomain
> > in the root of newreason.mysite.com or does it interfere with all the
> > HTML in the domain's main index.html? 'Cos if it does, it sounds as if
> > creating a subdomain with iWeb within a site created with FrontPage
> > could be a nightmare? *When I first created the site, I simply
> > imported an even earlier site into FrontPage but there doesnt seem to
> > be a way of importing my site into iWeb so that it both preserves (or
> > properly creates) *the domain's index.html and lets there be a sub-
> > domain within/out it.

>
> > Or is the only way of doing this to re-install FrontPage onto my
> > computer, download the present site to my computer, upload iWeb's sub-
> > domain to the web and then download the sub-domain to my computer's
> > installed Front Page again? (then I won't, of course, be able to edit
> > the 'new' site in iWeb).

>
> > I dont need anything fancy whatsoever: The subdomain's pages are all
> > text pages which have to be shown in a certain (original) *format
> > which shouldn't be changed and I cant jazz them up in any way beyond
> > having a comments box at the end of each document and implementing
> > Google AdSense on each page. *All I need is to be able to add pages,
> > change and/or add to the text occasionally.

>
> The problem is that there are many variations in how web hosts are set
> up, and I have no idea how the one you use works. What kind of servers
> does it use, how is the control panel set up, what does it support,
> etc. Most hosts have a detailed description of these things available
> to users, and some also allow the general public to view this
> description. I have 2 domains and a subdomain of one of them also. The
> control panel for my account. allows setting up a new subdomain in the
> first place, following host instructions. The two domains and
> subdomain are all listed at the same level when you go to the control
> panel and navigate to where domains are listed. You can select the
> subdomain to set up any desired mail accounts much as you set up mail
> accounts for a domain. I upload from the computer using ftp. You can
> also edit a page directly on the server if you do not need to upload a
> complete new page. Some support FrontPage, and some do not. I never
> use FrontPage because I prefer to write my web pages the way I want
> them. Without a detailed description of how to manage your account
> written by the host *or without direct help from the host, it could be
> very difficult and time consuming to decide what you need to do.


Yes, I agree but what about the index.html point firstly please? If I
upload all sorts of pages to the sub-domain (all of which are
independent of what is on the main domain) will it alter the main
index.html file and render the domain invisible, - because iWeb has
inputted no pages for the domain, - only the sub-domain? Put another
way, as far as I am aware (i.e. not much) there is only one root and
that is where the site's index.html file is: Does a subdomain have its
own index.html file?
 
Reply With Quote
 
Ben Bacarisse
Guest
Posts: n/a
 
      08-23-2011
InertEmployer <> writes:
<snip>
>> On Aug 23, 9:41Â*am, InertEmployer <dmanzal...@googlemail.com> wrote:

<snip>
>> > I have a main web site which I created using FrontPage some time ago.

<snip
>> > The reason for my post is that I was wondering whether uploading pages
>> > in this way to my subdomain creates an index.html for that subdomain
>> > in the root of newreason.mysite.com or does it interfere with all the
>> > HTML in the domain's main index.html? 'Cos if it does, it sounds as if
>> > creating a subdomain with iWeb within a site created with FrontPage
>> > could be a nightmare?

<snip>
> [...] Put another
> way, as far as I am aware (i.e. not much) there is only one root and
> that is where the site's index.html file is: Does a subdomain have its
> own index.html file?


Yes, it should. And uploading files to one domain should not affect
another even when one is a sub-domain of the other. All of this, of
course, is about how things *should* work. It's possible that your
hosting company has entangled things in such a way that this is not what
happens, but since I can't see any advantage to messing things up like
that, it seems fair to assume that it works as it should unless you come
across evidence that it does not. Sites with different domain names
should be entirely separate unless you take special steps to interlink
them is some way.

--
Ben.
 
Reply With Quote
 
dorayme
Guest
Posts: n/a
 
      08-23-2011
In article
<b3568b88-d5d8-4ab5-ba8a-
m>,
InertEmployer <> wrote:
....
> I cant figure out how to upload the pages in the sub-domain to
> the host's servers and they don't appear to have any technical support
> at the moment. When I try to upload pages to the subdomain, the
> servers reports a problem with my password. I am trying to get this
> resolved.

....

How did you create the subdomain in the first place? What do your
main domain server files look like in an FTP software browser
window, is there a folder there with the name of the subdomain
and can you look in this folder to see what is already there (if
anything)?

--
dorayme
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      08-24-2011
dorayme wrote:
> In article
> <b3568b88-d5d8-4ab5-ba8a-
> m>,
> InertEmployer<> wrote:
> ...
>> I cant figure out how to upload the pages in the sub-domain to
>> the host's servers and they don't appear to have any technical support
>> at the moment. When I try to upload pages to the subdomain, the
>> servers reports a problem with my password. I am trying to get this
>> resolved.

> ...
>
> How did you create the subdomain in the first place? What do your
> main domain server files look like in an FTP software browser
> window, is there a folder there with the name of the subdomain
> and can you look in this folder to see what is already there (if
> anything)?
>


It all has to do with the server configuration. The hosting company may
have a user web interface control panel but it still boils down the what
server path is associated with the document root for each subdomain. The
could vary depending on the hosting company, and you should take it up
with their support.

Example:

Subdomain Document Root
--------------- ---------------------------------------------
www.example.com /server101/users/yourprofile/www
foo.example.com /server101/users/yourprofile/foo-site
bar.example.com /server101/users/yourprofile/bar-site
baz.example.com /server101/users/yourprofile/somewhere/else


Put a index.html

'/server1010/users/yourprofile/www' folder and that is what will show
with 'http://www/example.com'

Put another index.html file in '/server101/users/yourprofile/bar-site'
and that is the one that will be displayed for 'http://bar.example.com'.
One will have no interference with any other if the the document roots
point to different folders...



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
InertEmployer
Guest
Posts: n/a
 
      08-29-2011
On Aug 23, 10:19*pm, "Jonathan N. Little" <lws4...@gmail.com> wrote:
> dorayme wrote:
> > In article
> > <b3568b88-d5d8-4ab5-ba8a-8f9d953a2...@l37g2000yqd.googlegroups.co
> > m>,
> > * InertEmployer<dmanzal...@googlemail.com> *wrote:
> > ...
> >> I cant figure out how to upload the pages in the sub-domain to
> >> the host's servers and they don't appear to have any technical support
> >> at the moment. When I try to upload pages to the subdomain, the
> >> servers reports a problem with my password. I am trying to get this
> >> resolved.

> > ...

>
> > How did you create the subdomain in the first place? What do your
> > main domain server files look like in an FTP software browser
> > window, is there a folder there with the name of the subdomain
> > and can you look in this folder to see what is already there (if
> > anything)?

>
> It all has to do with the server configuration. The hosting company may
> have a user web interface control panel but it still boils down the what
> server path is associated with the document root for each subdomain. The
> could vary depending on the hosting company, and you should take it up
> with their support.
>
> Example:
>
> Subdomain * * * * * * * * Document Root
> --------------- * * ---------------------------------------------www.example.com* * /server101/users/yourprofile/www
> foo.example.com * * /server101/users/yourprofile/foo-site
> bar.example.com * * /server101/users/yourprofile/bar-site
> baz.example.com * * /server101/users/yourprofile/somewhere/else
>
> Put a index.html
>
> '/server1010/users/yourprofile/www' folder and that is what will show
> with 'http://www/example.com'
>
> Put another index.html file in *'/server101/users/yourprofile/bar-site'
> and that is the one that will be displayed for 'http://bar.example.com'.
> One will have no interference with any other if the the document roots
> point to different folders...
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com


Well I think i have everything worked out: Turns out there was a
problem with the servers which werent accepting my password despite it
being entered correctly and then when I tried to upload the whole
site, MS Word was putting some piece of code into one of the first
pages which was preventing the site accepting any further files
uploading. The only way to get past that file was to paste it into
notepad and cut and paste the whole page back into iWeb.

THen everything worked. Now I have to work out which program to use
permanently to modify the sub-domain as necessary. I dont necessarily
trust iWeb as it is probably just about to be phased out with MobileMe.
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      08-29-2011
InertEmployer wrote:

> site, MS Word was putting some piece of code into one of the first
> pages which was preventing the site accepting any further files
> uploading. The only way to get past that file was to paste it into
> notepad and cut and paste the whole page back into iWeb.


MS Word (in fact ANY MS office product) is not suitable for web
development, except for the very very limited role in the composition,
spell check, and grammar check of the textual content (absolutely
sans-formatting).

--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
InertEmployer
Guest
Posts: n/a
 
      08-31-2011
On Aug 29, 2:35*pm, "Jonathan N. Little" <lws4...@gmail.com> wrote:
> InertEmployer wrote:
> > site, MS Word was putting some piece of code into one of the first
> > pages which was preventing the site accepting any further files
> > uploading. The only way to get past that file was to paste it into
> > notepad and cut and paste the whole page back into iWeb.

>
> MS Word (in fact ANY MS office product) is not suitable for web
> development, except for the very very limited role in the composition,
> spell check, and grammar check of the textual content (absolutely
> sans-formatting).
>
> --
> Take care,
>
> Jonathan
> -------------------
> LITTLE WORKS STUDIOhttp://www.LittleWorksStudio.com


Yes, I think I learned that the hard way. And I thought that the whole
point of creating a document format which was incompatible with lots
of other programs (the .docx format as opposed to the .doc one of
earlier Office programs) was to facilitate web optimisation etc
 
Reply With Quote
 
Jonathan N. Little
Guest
Posts: n/a
 
      08-31-2011
InertEmployer wrote:
> Yes, I think I learned that the hard way. And I thought that the whole
> point of creating a document format which was incompatible with lots
> of other programs (the .docx format as opposed to the .doc one of
> earlier Office programs) was to facilitate web optimisation etc


docx uses XML to be "compatible" with ODF, but XML does not necessarily
mean "web compatible"...the flame thread on HTML vs XHTML can attest.
But to underscore what MS Word can do (without all kinds of fussing) as
a web page editor see how a simple HTML bloats when saved in Word.

##### Hand-coded:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=iso-8859-1">
<meta http-equiv="content-language" content="en-us">

<title>Simple Page</title>

<style type="text/css">
body { font: large normal sans-serif; color: #000; background: #fee; }
em { color: #f00;}
</style>

</head>
<body>
<p>A <em>very</em> simple page that gets <em>bloated to the max</em>
when edited in MS Word</p>
</body>
</html>

##### Word bloat:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:v="urn:schemas-microsoft-com:vml"
xmlns="urn:schemas-microsoft-comfficeffice"
xmlns:w="urn:schemas-microsoft-comffice:word"
xmlns="http://www.w3.org/TR/REC-html40">

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="Simple2_files/filelist.xml">
<title>Simple Page</title>
<!--[if gte mso 9]><xml>
<oocumentProperties>
<o:Author>Jonathan N Little</o:Author>
<o:LastAuthor>Jonathan N Little</o:LastAuthor>
<o:Revision>2</o:Revision>
<o:TotalTime>0</o:TotalTime>
<o:Created>2011-08-31T14:11:00Z</o:Created>
<o:LastSaved>2011-08-31T14:11:00Z</o:LastSaved>
<oages>1</oages>
<o:Words>10</o:Words>
<o:Characters>61</o:Characters>
<o:Company>Little Works Studio</o:Company>
<o:Lines>1</o:Lines>
<oaragraphs>1</oaragraphs>
<o:CharactersWithSpaces>70</o:CharactersWithSpaces>
<o:Version>10.6870</o:Version>
</oocumentProperties>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"normal sans-serif";
panose-1:0 0 0 0 0 0 0 0 0 0;
mso-font-alt:"Times New Roman";
mso-font-charset:0;
mso-generic-font-family:roman;
mso-font-formatther;
mso-font-pitch:auto;
mso-font-signature:0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{mso-style-parent:"";
margin:0in;
margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
em
{color:red;}
p
{font-size:12.0pt;
font-family:"Times New Roman";
mso-fareast-font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;
mso-header-margin:.5in;
mso-footer-margin:.5in;
mso-paper-source:0;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
{mso-style-name:"Table Normal";
mso-tstyle-rowband-size:0;
mso-tstyle-colband-size:0;
mso-style-noshow:yes;
mso-style-parent:"";
mso-padding-alt:0in 5.4pt 0in 5.4pt;
mso-para-margin:0in;
mso-para-margin-bottom:.0001pt;
mso-pagination:widow-orphan;
font-size:10.0pt;
font-family:"Times New Roman";}
</style>
<![endif]-->
<meta http-equiv=content-language content=en-us>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="2050"/>
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1"/>
</o:shapelayout></xml><![endif]-->
</head>

<body bgcolor="#FFEEEE" lang=EN-US style='tab-interval:.5in'>

<div class=Section1>

<p><span style='font-size:18.0pt;font-family:"normal
sans-serif";color:black'>A
</span><em><span style='font-size:18.0pt;font-family:"normal
sans-serif"'>very</span></em><span
style='font-size:18.0pt;font-family:"normal sans-serif";color:black'> simple
page that gets </span><em><span
style='font-size:18.0pt;font-family:"normal sans-serif"'>bloated
to the max</span></em><span style='font-size:18.0pt;font-family:"normal
sans-serif";
color:black'> when edited in MS Word<o></o></span></p>

</div>

</body>

</html>

##### Still mucked up when using MS Word;s "Filter HTML" feature:

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html>

<head>
<meta http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<meta name=Generator content="Microsoft Word 10 (filtered)">
<title>Simple Page</title>

<style>
<!--
/* Font Definitions */
@font-face
{font-family:"normal sans-serif";
panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman";}
em
{color:red;}
p
{font-size:12.0pt;
font-family:"Times New Roman";}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>

<meta http-equiv=content-language content=en-us>
</head>

<body bgcolor="#FFEEEE" lang=EN-US>

<div class=Section1>

<p><span style='font-size:18.0pt;font-family:"normal
sans-serif";color:black'>A
</span><em><span style='font-size:18.0pt;font-family:"normal
sans-serif"'>very</span></em><span
style='font-size:18.0pt;font-family:"normal sans-serif";color:black'> simple
page that gets </span><em><span
style='font-size:18.0pt;font-family:"normal sans-serif"'>bloated
to the max</span></em><span style='font-size:18.0pt;font-family:"normal
sans-serif";
color:black'> when edited in MS Word</span></p>

</div>

</body>

</html>



--
Take care,

Jonathan
-------------------
LITTLE WORKS STUDIO
http://www.LittleWorksStudio.com
 
Reply With Quote
 
 
 
Reply

Thread Tools

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
across subdomain authentication failed on one subdomain while workingon other one saify ASP .Net Security 0 09-28-2009 07:27 AM
ASP/ASP.NET page that reacts a special way to items coming from a particular subdomain (programmatically testing subdomain?) Ken Fine ASP .Net 3 02-29-2008 05:35 AM
Are databases hosted by third parties necessarily insecure? Mellow Crow Computer Security 4 05-10-2005 08:31 AM
UK Social research job to suit Excel programmer (not necessarily VBA) Duncan Smith Python 4 05-29-2004 10:36 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57