Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
As the title suggests.
I have a website atm and it was created using the webhosters program. You know the one when you sign up you can create a website in like 5 easy steps through your web browser.Now as I am completely new to this stuff. I purchased a program that made web design real easy for me..... Coffee Cup.
Now after many hours of designing my own website I want to replace the current one with my new one. Now I know I need an FTP program of which I have I just need to know do I delete anything in particular or anything I shouldn't delete.
The question is how do I do it?
Any help would be good

Hi, it's actually really easy to replace your old site. All you need to do is to login to your hosting administration (or cpanel), go to the file management function and swap the site pages in your public html folder with your new site pages. Most hosting companies have an administrative login where they have a user-friendly web interface where you can click on the file management icon and the select the folder and the 'upload' function to load files from your computer to your hosting.
Some web hosting companies will make it difficult for you to figure out how to do this in hopes that you will remain with their turnkey website solution instead.
So I would recommend that you call your web hosting provider and have their technical support walk you through step-by-step how to replace your site.

Ive been in touch with my hoster and they say they don't know how..... kinda surprised me.
Anyway I logged into the CPanel and went to the file management.
I found this list.
I know what the p2p, sof, folders are but the rest I have bolded and have no idea
Folders
admin 4 KB httpd/unix-directory 0755
data 4 KB httpd/unix-directory 0755
editor_images 4 KB httpd/unix-directory 0755
images 4 KB httpd/unix-directory 0755
inc 4 KB httpd/unix-directory 0755
index_files 4 KB httpd/unix-directory 0755
modules 4 KB httpd/unix-directory 0755
p2p 4 KB httpd/unix-directory 0755
scripts 4 KB httpd/unix-directory 0755
sof 4 KB httpd/unix-directory 0755
web_documents 4 KB httpd/unix-directory 0755
web_flash 4 KB httpd/unix-directory 0755
web_images 4 KB httpd/unix-directory 0755
web_media 4 KB httpd/unix-directory 0755Files
.htaccess 0 Bytes text/x-generic 0644
admin.php 74.64 KB application/x-httpd-php 0644
cms_style.css 9.34 KB text/css 0644
error_log 36.05 KB text/x-generic 0644
index.php 17.15 KB application/x-httpd-php 0644
template_e019.html 4.98 KB text/html 0666Any idea on what I need to get rid of so I can upload ?

The folders look like part of a content management system as do the files - admin.php; cms_style.css; index.php; template_e019.html.
The error log and .htaccess files may also be part of the cms or they may be required by your host.
Since you don't really know, I'd recommend creating a folder at the root level (same level as index.php) and then move everything except the .htaccess and error log files into that folder keeping the same data structure.
You should then be able to create your own index.php file. If you don't have any problems with your hosted page(s), then you can *probably* assume that you're ready to do what you wish. If you have problems, then revert back to the old structure.
Either way, the index.php file is *likely* what is being served, so try editing it. You can comment out the current source by adding
<!-- current code ... current code //-->Add something above and/or below the commented out section to test the new page; don't forget to save it as index.php.
You may also need to reset the permissions of index.php; if so, use chmod to reassign the file to whatever permissions it currently has.
HTH

![]() |
![]() |
![]() |
| Login or Register to Reply | |
| Login | Register |
| Ads by Google |