How do i host my website with DigitalOcean

Posted November 2, 2019 12.4k views
PHP Frameworks

I just got introduced to this platform. I have created an account and in the process, I was asked to input my credit card details which i did and i was debited $5.40+ for which i don’t know why it was debited. My questions are

  1. Why was i debited?
  2. How can i host my php website designed with codeigniter framework after subscribing for a package?

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer


I believe that when it comes to initial setup, a preauth charge is generally used to verify the card has at least some degree of funding.

These charges generally show as pending and are then removed as they are not actual charges to your account – they do, however, result in the funds showing as in-use until the hold is removed.

Regarding hosting your application, I would recommend first following this tutorial here on how to do your initial server setup:

And then here’s a step by step guide on how to install Codeigniter on an Ubuntu server:


by danny.sipos
Run through this tutorial and install Codelgniter on an Ubuntu 12.04 Cloud Server.