How do I wipe my account clean and start fresh?

Asked by:
Rich1026 / 8 Points
Time:
2011-08-03 3:02 pm EST
Category:
How To
Hits:
8,525
How do I wipe the site clean of everything except apache, php and mysql? Learning code and want to write just about everything from scratch. The site is not something for people to see - just something for me to learn code.

To ask this user for more information, please first login.

To submit an answer, please login.

I have a database and Home directory I created from another site and want to delete everything on my current site and transfer the new information. Can you help show me how??
kstansbury
0 Points
2016-01-28 02:36 am EST

Best answer chosen by User

0

KevinW
591 Points
2011-08-03 3:17 pm EST
Hello,

Whether you have added content already or your site is still just showing the Hub landing page, it is pretty easy to wipe the slate clean so to speak. Just <a href='http://www.webhostinghub.com/help/learn/cpanel/101-getting-started/how-to-login-to-cpanel'>log into your cPanel</a> and navigate to the <a href='http://www.webhostinghub.com/help/learn/cpanel/202-managing-files/file-manager'>File Manager</a>. After you are in the File Manager if you logged in to the Web Root you will automatically be in the public_html folder. It is safe to delete anything in this folder, as this is where the files for your website are kept. We recommend keeping the cgi-bin folder as you may need it while you are testing, but the other folders are not required and can be removed.

If you have any databases (by default there are not any, so if you have not installed any programs then there will not be any databases), you can delete those in the MySQL Databases section of the cPanel, which is in the Databases subsection. By each Database, under "Actions" is an option to delete the database.

Once the public_html folder is empty, your site will show as not existing if anyone visits it in their browser. If you still wanted to upload files so you could test them out to make sure your code is working, there are a few different ways to do that. The easiest way is to create a folder that only you know the name of (for example, Test) in the public_html folder. This can be done in your File Manager as well. Then you can upload files into the Test folder and see what it looks like at http://www.yourdomain.com/Test. If you decide at any point you want the files live on your site, you can just move them from the test folder into the public_html folder.

If you have any other questions, please let us know!

Kevin

To submit a comment on this answer, please first login.

Hello Kstansbury,

Thanks for your question about moving your old website data. It's much the same as migrating an entire website. If you're dealing with a database, then you may need to export it and then import into the database on your Web Hosting Hub account. The main difference will be removing the code here and then changing it to use the data from other site. This also depends on if you created the website from scratch or if you are using a program like WordPress for your website. If you are using a 3rd party program then you may need to change specific things (e.g. the database credentials) in order to get the new data on your website here.

I hope that helps to answer your question! If you require further assistance, please let us know!

Regards,
Arnel C.
arnelc
17,314 Points
Staff
2016-01-28 5:35 pm EST
Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}