By gentlecalm
I have a website that I developed on a Mac using XAMPP (a cross-platform LAMP stack). The website uses the following technologies: HTML, CSS, Javascript, jQuery and PHP.
And I have a domain name I bought via Hover.com.
Now, I’ve bought a Digital Ocean droplet consisting of Ubuntu 12.04.
What are the steps I need to do to transfer my website so it becomes live on the domain? Could you kindly point me to up-to-date tutorials?
One key issue for me is that I will be hosting multiple domains on this droplet, so I might need to set up virtual hosts or use some other technique. Advice on how to do this would be especially welcome.
I’ve seen some tutorials on here, but some of the information seems a little old, so am not sure if it’s up-to-date.
Thanks for the help.
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Nevermind my last comment – I was able to resolve it. For some reason my javascript file javascript/example.js wasn’t able to be read by the browser. After I renamed the javascript directory js (so that the new path was js/example.js ) and updated my index file accordingly, everything started working.
Strange and bizarre, I know, but that’s server admin for you!
Thank you. Appreciate the quick answer.
A clarification please:
— if I eventually plan to host multiple domains (small static websites) on the same droplet, what should I do now (and how) to prepare for that eventuality (e.g. set up virtualhosts or some other technique?).
@ryanpq – An update: everything in your first comment worked fine. Thank you very much.
I’ve asked about setting up multiple domains on my single droplet in my previous comment.
And I have one more request: I have another site which has a MySQL database attached to it. I’d like your instructions on the correct way to install MySQL on the droplet, and then migrate the website with the MySQL database from from XAMPP on my Mac to the Ubuntu 14.04 droplet.
Thanks!
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.