If your web hosting came with a panel, find out where the name servers are located. Point your domain to those name servers. From there, it'll take around 24 hours max to propagate. Afterwards you can edit your files like normal.
If you didn't receive a panel and just SSH, install LAMP. For more info on that, Google "LAMP DigitalOcean", they provide a great article.
This thread has been locked.