1
6 Comments

Deploying a Test Website via Cloud Provider

Hi.

(This could go under Developer or Product Development)

Hey. Working on a very quick test site. Realized I have no real clue as to the overall parts to do a live/secure deployment. There are lots of different sites for hosting platforms. Also, lots of sites with parts of the process, but I haven't run across any one site that has "all" the steps.

So :
My test site runs on Centos8, uses the httpd process/app with mysql.
I'm looking to learn::
-assume I find a test domain name
how do I modify the apache/conf file for the "testURL/Domain Name"
how do I connect the domain name to the internet. I'm assuming this involves setting up the DNS process
How do I "secure" the centos8 site/server???
How do I start/stop/restart the site, and have a "site down" page!
Oh, and if I have a server that generates a dynamic ipaddress, how do I map the changing ipaddress to the domain Name/DNS process?

Pointers to sites that I may have missed or solid comments are welcome.

Once I get my head around these pieces, I can continue my overall journey.

Later on, I'll look into software deployment processes - version control/backup/testing/etc..

thoughts/comments

thanks...

on April 13, 2020
  1. 1

    As others have mentioned, there's a lot to parse here. But if you're truly working on something quick and simple, then my suggestion would be to use a static site generator like Gatsby or Jekyll, and deploy it using surge.sh.

    1. 1

      Hi Adriand.

      Just took a look at surge.sh. Is it an app/platform for deploying single page/static apps? Does it deploy something like a "drupal"?? I'm looking for a quick surge is --- for dummies!

      I was going to call them, but thought you might be able to answer first.

      thanks

      1. 1

        There's a video right on their homepage that explains how it works. It will deploy anything static (i.e. Javascript, HTML, CSS, etc.)

        With that said, it sounds to me like you're looking for a "quick all-things-web-dev for dummies". There isn't such a thing. There's a long learning curve associated with technical work, and you can't really leap ahead. So for instance, "how do I connect the domain name to the internet": it sounds like you don't know how DNS works and how domains, domain registrations, DNS, and servers all interact. Someone here could try to take the time to explain this to you, but I think everyone (yourself included) would be better off if you started with the basics and worked up from there.

        A good first goal would be to just get an index.html page on the Internet that displays "hello world" running at a domain that you registered. If you're not sure how you would go about doing that, then you should definitely not be trying to deploy Drupal to the Internet.

        You may find this roadmap helpful:

        https://github.com/kamranahmedse/developer-roadmap

        You should figure out where you're at on that roadmap and don't try to jump ahead, because it will just be super frustrating for you (and for people you ask for help from).

        Alternative: technical co-founder. ;)

        1. 1

          oh god.. make the pain go away....

          ok.. snark off

          everything I asked about can be found by hitting google and doing searches/testing.. popping a centos8 VM and doing the work can be done.

          the massive overarching issue.. is TIME! you never get the damn time back. So I ask basic questions in hopes that someone will say.. hey.. no prob.

          step1 do this
          step2 do that..
          etc...

          or at least I find someone who says.. pay me X and I got that part covered for you, along with a quick explanation.

          jesus.. it's just not that effing hard.

          ps.. and yeah.. mot could figureout how to put drupal live on the net... but would the damn thing/site/serverVM be secure.. prob not. but hey, if your approach os to tell someone to go off and do it, as opposed to perhaps saying .. here's what you really might want to do to have the server be fairly secure... no prob.

          be safe

  2. 1

    Hi tsmith It would all depend on your technology stack and which cloud provider, if you could share that I could give you some advice, if you like we could do a hangout session to talk about it.

  3. 1

    That's a lot to explain in one single post. What kind of back end language do you use? If you use PHP and Laravel in particular, you could use one of their services to deploy to AWS.