robbnj Posted June 13, 2003 Posted June 13, 2003 After I have uploaded my files to the public_html folder. What address do I point my domain to? Should it be my IP followed by index.html (i.e. 192.168.0.1/index.html), or do I have to point to the public_html folder followed by index.html (i.e. 192.168.0.1/public_html/index.html)? I want to set my domain re-direct right on the first try. Thanks! Quote
TCH-Rick Posted June 13, 2003 Posted June 13, 2003 I'm not real sure I understand your question. After you have uploaded your files you can view your site using http://ipaddress/~username You should make sure your nameservers are set to the ones given in your welcome email and once propagation is complete you can view your site using http://yourdomain The nameservers will do all the redirecting. Quote
rpgaw Posted June 15, 2003 Posted June 15, 2003 yes I to want to bypass the parent directry when i open my web site without typing in /_public. i know it is easy for you but we all learn little by little thanks Quote
TCH-Andy Posted June 15, 2003 Posted June 15, 2003 If I can put Rickvz comments in different words, Although you upload your files into the public-html directory, when you goto your site with a web browser and type in "http://yourdomain" it will automaticaly go into the public-html directory and find the file "index.htm" or "index.html". Andy Quote
rpgaw Posted June 15, 2003 Posted June 15, 2003 well i made sure my index file was named index.htm.but i still get the parent dir. could it be that i deleted the www file 11 bytes in size. not the www folder that is still there.the www file can only be seen by ftp dummy and can not be downloaded. smart ftp and the cpanel don't see it. IF this is the problem does anyone know how i can get the www file back where it should be thanks Quote
TCH-Andy Posted June 15, 2003 Posted June 15, 2003 the www directory is, in effect, a shortcut to the public-html directory. If you have deleted it, then you will probably need to submit a help desk ticket to sort things out. Always safer not to delete the files that you are not sure about. What is you domain name? Andy Quote
TCH-JimE Posted June 16, 2003 Posted June 16, 2003 Hi, Please post your domain name so I can take a look Jim Quote
rpgaw Posted June 16, 2003 Posted June 16, 2003 hi thanks for your help,the way i got it to work was to make sure that index.htm is the first file on the list in the folder. my links only work when i have them in the folder-home ,not _public. h**p//illuminationlighting.net, thanks again Quote
KevinW Posted June 16, 2003 Posted June 16, 2003 Either you have not correctly explained your set up - or -y ou have something wrong. If you access your TCH site via FTP (or CPanel's File manager), you should see several directory, including: mail/ public_ftp/ public_html/ tmp/ www/ The www/ directory is really a fake directory, and actualy points to the public_html/ directory. Think of it as an alias. Now, all your actual web pages should be inside the public_html directory. Your URL (www.illuminationlighting.net) is directed to the proper TCH name servers (ns1.totalchoicehosting.com and ns2.totalchoicehosting.com). What happens when someone types in www.illuminationlighting.net ? Well, first the browser goes out and determines that your URL exists physically at TCH, and so your visitor will be sent there. Furthermore, TCH is set up to automatically take the visitor to the public_html directory and locate/display the appropriate home page (index.htm, index.html, index.php, etc.) Again, if your set up is not this way, or you have something missing, it would be best to contact TCH's supportdesk and get it fixed NOW - rather than after you go live with your web site. -kw Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.