Computing.Net > Forums > Web Development > Replace old website

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

Replace old website

Reply to Message Icon

Name: bluedog
Date: November 1, 2009 at 02:46:38 Pacific
OS: Windows 7
CPU/Ram: 9850+/4GB
Product: Amd/corsair / CLONE
Subcategory: HTML
Comment:

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



Sponsored Link
Ads by Google

Response Number 1
Name: Radix-64
Date: November 2, 2009 at 15:06:29 Pacific
Reply:

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.


1

Response Number 2
Name: bluedog
Date: November 2, 2009 at 17:15:46 Pacific
Reply:

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 0755

Files

.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 0666

Any idea on what I need to get rid of so I can upload ?


1

Response Number 3
Name: shutat
Date: November 2, 2009 at 21:22:42 Pacific
Reply:

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


1

Response Number 4
Name: bluedog
Date: November 5, 2009 at 21:58:08 Pacific
Reply:

Sweet thanks guys


0

Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More






Use following form to reply to current message:

Login or Register to Reply
LoginRegister


Sponsored links

Ads by Google


Results for: Replace old website

Archiving My Old Website www.computing.net/answers/webdevel/archiving-my-old-website/2471.html

IE & Firefox showing old website www.computing.net/answers/webdevel/ie-firefox-showing-old-website-/3753.html

Works in IE but not FireFox www.computing.net/answers/webdevel/works-in-ie-but-not-firefox/3797.html