Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

eggplantSword's avatar

DigitalOcean newbie questions

I'm trying to put a laravel project online for the first time, I was recommended DigitalOcean to do this but I have a couple questions.

  • Can I use a specific domain name from DigitalOcean or do I need to buy it separately?
  • How long would it take to set everything up and see it online working?
  • How does it work to install a project on a basic droplet?
0 likes
23 replies
jlrdw's avatar

Also digital ocean actually has tutorials on laravel installation.

piljac1's avatar

Not sure what you mean by "a specific domain name from Digital Ocean", but you can absolutely buy a domain name elsewhere and link it to your droplet's IP. Else, you can access your IP directly by the time you get a domain name.

eggplantSword's avatar

@piljac1 Sorry what I mean is does DigitalOcean let me get to the page as www.mypage.com or would it be something unreadable auto generated by DigitalOcean.

I was looking at the Marketplace where they have like a droplet you can create that has most of the setup done, so maybe that's the way to go since they do have a laravel one. Do you know if it's possible to also put git on there to pull from a repository on BitBucket instead of creating the project from scratch?

laracoft's avatar

@msslgomez

  1. Domains are separate from hosting. You need to buy one from a registrar and setup the DNS properly. You might want to consider engaging professional help for this if you are unfamiliar.
  2. Hosting is practically like setting things up on your local machine, instantaneous. Domains are a different story, especially you are not familiar, it can take up to days if you get things wrong. Typically, it should be up within an hour or so.
jlrdw's avatar

Digital ocean isn't like some shared where you get a crazy generated domain. If you have one already you have bought use that.

laracoft's avatar

@msslgomez the link looks ok, but these articles tend to go stale after a while and I'm not sure if the screenshots etc are up to date.

If you mean pulling from BitBucket into your DigialOcean server, that would be a bash command git clone <bitbucket project URL>.

LaraLink's avatar

If you need help i can assist you on discord Laralinks#9193

eggplantSword's avatar

@laracoft Yea but do I have to set up git on the droplet or does it come like that? Looking at the Laravel marketplace droplet it doesn't seem to include git.

The thing is technically I'm the professional help, well for creating the page itself anyway. I'm familiar with using a dedicated server but not using a page like DigitalOcean. Do you have experience with setting up a domain name and setting up the dns?

laracoft's avatar

@msslgomez yes, I'm very familiar with domain and DNS setup, especially troubleshooting them.

eggplantSword's avatar

@laracoft I'm waiting on the client to create the account and buy the domain and stuff so even if I wanted I can't really start right now, but I did want to get some of my questions out of the way first to get a grasp on what I need to do.

laracoft's avatar

@msslgomez sure, I had many clients who DIY to save cost but end up struggling with getting the domains and DNS in order.

eggplantSword's avatar

@laracoft Quick question, when buying a domain like on GoDaddy do I need just the domain name or one of their plans?

The offer the plain domain name and also 3 plans

  • Starter Plan : Includes:

    • Domain Name
    • Full Domain Privacy & Protection
    • 1 page
    • and Security (SSL)
  • Essentials Plan : Includes: all the above plus

    • Search Engine Optimization (SEO)
    • GoDaddy InSight
    • Email Marketing
    • Google Business Listing
    • Social Media Integration
    • Office 635 Professional Email
    • Online Appointment Scheduling
  • Ecommerce Plan : Includes: all the above plus

    • Sell Products and Accept Payments
    • Sell on Amazon, Etsy and eBay

Realistically I don't need the Essentials or Ecommerce plans but I'm not sure about the Started Plan. Do I need it or is the domain name only good?

laracoft's avatar

@msslgomez all plans seem to combine domain, DNS and hosting. Essential and Ecommerce seem to be providing even coding 🤣🤣🤣

I normally prefer to separate domain from hosting. Most registrars provide domain + DNS and I find someone else to provide hosting.

What do you plan to do with 1 page? Realistically, I think it is pointless when what you plan to use is an instance of Laravel.

eggplantSword's avatar

@laracoft Right I would do the domain from GoDaddy and hosting on DigitalOcean

What do you plan to do with 1 page? Realistically, I think it is pointless when what you plan to use is an instance of Laravel.

So I should only get the domain name by itself?

Please or to participate in this conversation.