Question

Building up a Website, what do I need?

Posted August 4, 2021 185 views
MySQLApachePHPDNSInitial Server SetupUbuntu 20.04

I’ve been busy the last 5 days to build my own website from 0 with different guides in the web. I always ended up having trouble with MariaDB.
Not only that, but I messed the Server up because of the many guides with different strategies.
I’ve rested my now and would like to start over.
For now, I have set up the LAMP Stack with the Guide from Erika Heidi https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-20-04
Which just worked perfectly, thanks Erika

So now I’m about to add a DNS-Server and try to set up SSL to make my website more secure.

The DNS of my choice is Bind9, I am working with Ubuntu 20.4.

Any tips on how to continue with my Website?

My Goals and Use for the Website are:

Blogging with Pictures, videos and Text
Mail
Further Future Web shop abilities
Guests being able to register on my website

I feel like having a bit of an Overflow of Information from the web.

I’m an IT beginner and would love to make this work properly.

Thanks for the feedbacks

Greetings from Zurich, Switzerland

Marc

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

Hello,

Really happy to hear that Erika’s tutorial helped you, I will pass this over to her.

I would not go for running your own nameservers directly on the same server as your website. You could instead use the free DNS service provided by DigitalOcean, that way all you would need to do is to add your domain name to your DigitalOcean account, add your DNS records there and change your nameservers to the DigtitalOcean ones.

For more information on how to do that, you could take a look at the documentation here:

https://docs.digitalocean.com/products/networking/dns/

Hope that this helps!
Regards,
Bobby

  • Hello Bobby,

    Thank you for the quick answer to my Question.

    My Nameservers run on the page, where I’ve register my DomainName and not directly on my Server.

    Last time I did the DNS that way, it worked properly.

    Would you still suggest to use the DigitalOcean one?

    One of the reasons, why i do the DNS by myself is to see the configuration and how it works together with other properties on the server.

    Do I still get to see these if i choose the DigitalOcean provided DNS?

    Kindest regards,
    Marc

    • Hi Marc,

      I would personally use Bind9 only if I had really specific requirements to run my own nameservers.

      If there are no specific needs on why you need Bind9, I would either use DigitalOcean as my DNS provider or the provider that I’ve purchased my domain name from.

      In both cases, you would have access to your DNS zone where you would be able to add your DNS records.

      Hope that this helps!
      Regards,
      Bobby

      • Thanks Bobby,

        I’ll try that then!

        So now i have to
        sudo apt-get remove bind9 -y
        I guess :)
        But i think i go the alternative way of “snapshot”, I saved the previous status of my server and will return to it!

        Thank you

        Regards,
        Marc