DOH! Network

  • News
  • ...
  • Johnny Leche

Welcome to the DOH! Network — The Official Website of Johnny Leche.

Ok, subdomains and quakepark.com work with ssl now. All those virtual hosts I set up in 'httpd-vhosts.conf' have to be set up in 'httpd-ssl.conf' also? Or maybe only in 'httpd-ssl.conf' and not 'httpd-vhosts.conf'? Whatever. It works now. May not be the right way. I will have to seee about setting up a wld card ssl so I don't have to add each subdomain manually but that's for another day. Now I need to go through the subdomain pages and make sure they work with the absolute urls to the cdn. Should probably set up a php variable that will determine if the page should use absolute urls or relative urls in case the urls break again in the future so I don't have to go through every page replacing the urls like I did a couple of years ago when the DNS broke.

And it's broken again. I realized I didn't include 'cdn' in the list of secure subdomains and in the process of trying to fix that, now Apache won't start while ssl is enabled. I really need to log everything I do as I do it because I don't know at what point I broke it. Could have been when I was messing with the .htaccess file but I reverted that change and it didn't help.

OK, back up again but 'cdn' does not load securely. Once that is working, I probably won't by default be able to point to cdn.dohnetwork.com from other pages because of CORs issues. I thought I had resolved that last time ssl was working but it doesn't look like the .htaccess files work.

Removing the DOH! Network ip did fix the issues with Plex Media Server and Let's Encrypt secure certificates. The subdomains and QuakePark urls stopped working though. Have to look into maybe a wild card for the DOH! Network instances at least. Not sure what to do about QuakePark.com yet though.

I used Acme PHP to configure the certificates. The four steps on the homepage were all I needed. On step 2, I was able to do two domains in one go so that was nice. I used the Apache 2.2.32 info for the virtual host on the 'Configure your webserver' page.

Had a productive day yesterday. Finally dohnetwork.com and quakepark.com are working for everybody outside of the building. turns out I forgot when I rebuilt last time that I didn't go through all the motions of updating files in the 'etc' folder. Luckily egrep showed me how to back up my updates years ago so I have a zip file with all the changes made in the important files that I was able to use as a guide to configuring everything.

One new thing I learned is if I add the DOH! Network ip to the list of name servers in 'resolv.conf', it breaks being able to ping domains from the server terminal. This also broke connecting to the Minecraft server with an authentication error. It probably also breaks setting up the secure certificates for 'https' and claiming the Plex Media Server. Still need to check those.