Results 1 to 3 of 3

Thread: Help setting up virtual host + SSL

  1. #1

    Default Help setting up virtual host + SSL

    It's time for me to get a website up and I need help to do things right ! First I'd like to set up a test site accessible by secure and not secure connections (i.e. https and http). I've been running my web apps (Drupal, NextCloud, phpMyAdmin) under /srv/www/htdocs for some time now so I have the basics figured out. Just never created a virtual host and never a secure url.

    If someone can give me a step by step approach to this I'd be quite appreciative.

    Goal: use https://something-secret.site for secure connection & http://something-secret.site for a fallback.

    My present setup:
    1. Apache2-2.4.38-2.1
    2. Bind-9.11.2-43.3
    3. PHP7-7.3.1-2.1
    4. openSUSE-Tumbleweed

    Everything is up to date as of today (sudo zypper update)...

    Thanks
    Michael Soibelman

    P.S. I'll buy a domain name and change the url from something-secret.site to something-secret.com and open firewall to outside world when I'm comfortable with my setup... Of course I'm not really using something-secret.site but that's the form I'm using, that is to say xxxx-xxxx.site with a dash between the first and second word...

  2. #2
    Join Date
    Jun 2008
    Location
    Netherlands
    Posts
    25,136

    Default Re: Help setting up virtual host + SSL

    Quote Originally Posted by kindhornman View Post
    Everything is up to date as of today (sudo zypper update)...
    The only supported way of keeping Tumbleweed up-to-date is
    Code:
    zypper dup
    Henk van Velden

  3. #3
    Join Date
    Jun 2008
    Location
    San Diego, Ca, USA
    Posts
    11,278
    Blog Entries
    2

    Default Re: Help setting up virtual host + SSL

    Quote Originally Posted by kindhornman View Post
    It's time for me to get a website up and I need help to do things right ! First I'd like to set up a test site accessible by secure and not secure connections (i.e. https and http). I've been running my web apps (Drupal, NextCloud, phpMyAdmin) under /srv/www/htdocs for some time now so I have the basics figured out. Just never created a virtual host and never a secure url.

    If someone can give me a step by step approach to this I'd be quite appreciative.

    Goal: use https://something-secret.site for secure connection & http://something-secret.site for a fallback.

    My present setup:
    1. Apache2-2.4.38-2.1
    2. Bind-9.11.2-43.3
    3. PHP7-7.3.1-2.1
    4. openSUSE-Tumbleweed

    Everything is up to date as of today (sudo zypper update)...

    Thanks
    Michael Soibelman

    P.S. I'll buy a domain name and change the url from something-secret.site to something-secret.com and open firewall to outside world when I'm comfortable with my setup... Of course I'm not really using something-secret.site but that's the form I'm using, that is to say xxxx-xxxx.site with a dash between the first and second word...
    If you're now considering moving your website from development to Production, you should consider also moving from TW to LEAP for better stability.
    Depending on your website, you may also want to keep a development > staging > production infrastructure for continuing support and maintenance of the website.
    Tools like the YaST http-server module can help setting up your virtual server consistently.
    You didn't mention MySQL/MariaDB, if your website uses a database, be sure to set up and configure fault tolerance and maintenance/support policies.
    When you're ready to get a SSL certificate for your website, start by selecting a CA service, then look for the page that describes that service's procedure for creating and submitting a CSR. It might be complete or partial, but it's a starting point.

    After setting up the above,
    If you have further questions about specific things, go ahead and post.

    TSU
    Beginner Wiki Quickstart - https://en.opensuse.org/User:Tsu2/Quickstart_Wiki
    Solved a problem recently? Create a wiki page for future personal reference!
    Learn something new?
    Attended a computing event?
    Post and Share!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •