AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Domain Checker 8.2 for windows instal2/23/2024 ![]() ![]() Important part is the Common Name which has to be the one you have added to your hosts-file aboveĮxample: Country Name (2 letter code) :DE To create a self-signed certificate using OpenSSL only for local-docker with an expirationdate 1 year in the future you can use this command openssl req -x509 -new -out mycert.crt -keyout mycert.key -days 365 -newkey rsa:4096 -sha256 -nodesĪnd answer the questions to your best knowledge. adding this hostname to the line starting with 127.0.0.1 127.0.0.1 localhost local-dockerĢ - create a certificate + key matching this hostname RUN docker-php-ext-install mysqli & docker-php-ext-enable mysqli & docker-php-ext-install pdo_mysqlġ - add a line to your computer’s host file ( /etc/hosts for Linux C:\Windows\System32\drivers\etc\hosts for Windows) pointing the desired name to 127.0.0.1, i.e. ![]() I’ve found a lot of solutions that involve adding a reverse proxy but I’m not sure if this is exactly what I’m looking for. In addition to this I would like to enable SSL certificates for this local domain. If you choose to install to a different folder, adjust the start of the folder path.I currently have a simple docker setup in which I’m using PHP:7.3.30-apache and I’m able to view my website at What is the best way to create a custom domain like “ instead of localhost? NET gives you an option to install to a different folder. Much of the time the installer or script you're using to install. NET from an installer or script, it's installed to a standard folder. ![]() As an alternative, you can check that the. In this case, the commands from the previous sections may not work. ![]() NET is installed but not added to the PATH variable for your operating system or user profile. ![]()
0 Comments
Read More
Leave a Reply. |