You can check domain expiration using whois command.

Let’s say we want to get medium.com domain expiration date. Here is a command example:

whois medium.com

The output looks like this:

Domain Name: MEDIUM.COM
Registry Domain ID: 1329658_DOMAIN_COM-VRSN
Registrar WHOIS Server: whois.registrar.amazon.com
Registrar URL: http://registrar.amazon.com
Updated Date: 2021-04-21T23:16:31Z
Creation Date: 1998-05-27T04:00:00Z
Registry Expiry Date: 2022-05-26T04:00:00Z
Registrar: Amazon Registrar, Inc.
Registrar IANA ID: 468
Registrar Abuse Contact Email: abuse@amazonaws.com
Registrar Abuse Contact Phone: +1.2067406200
Domain Status: clientTransferProhibited https://icann.org/epp#clientTransferProhibited
Name Server: ALINA.NS.CLOUDFLARE.COM
Name Server: KIP.NS.CLOUDFLARE.COM
DNSSEC: unsigned
URL of the ICANN Whois Inaccuracy Complaint Form: https://www.icann.org/wicf/

This is a complete tutorial on how to get HTTPS working on localhost or any local domains.

What is this tutorial about:

  • How to set up local a domain
  • How to create a self-signed SSL certificate (or more accurately, TLS certificate)
  • How to configure Nginx to use an SSL certificate
  • How to run Nginx with HTTPS configured in a Docker container using docker-compose

I am using Linux so this tutorial is for Linux OS. If you use Windows, you can run the same commands using the Git Bash emulator or WSL (Windows Subsystem for Linux). Though I didn’t try it…


This is a description of what is domain expiration and how to check it. What is this article about:

  • What is a domain expiration date
  • What happens when a domain name expires
  • How to use “UpTime.onl” service to check the domain expiration date

What is a domain expiration date?

Each domain name has an expiration date. This is the date when the domain becomes inactive and all domain services stop functioning. It might be crucial to your business not to forget to extend the domain name ownership because your website will stop working once you forget to extend the domain name ownership.

What happens when a domain name expires?

When you reach the…


This is a complete description of what is uptime and how to measure it. What is this article about:

  • What is uptime
  • How to measure uptime
  • How to use “UpTime.onl” service to measure your website uptime

What is website uptime?

Uptime is a metric that represents the percentage of time that website has been working. It is a measure of website reliability. The higher is the better.

Ideally, uptime would be 100%. But it is almost impossible to achieve in the real world. There are lots of reasons, which may affect a website uptime. …


This is a complete tutorial on how to create a blog using a static website generator and free web hosting in 2021. It is better to have at least basic programming experience to proceed with the tutorial.

We will use Hexo as a blog framework, GitLab Pages as a free hosting with HTTPS and a custom domain, Node JS and Git.

In the end, I will give you a recommendation about website monitoring.

Let’s get started.

What is a static site generator

A static website is a website that is not generated on every request on the server-side. …


What is a website monitoring

Website monitoring is a way to be sure your website, web-service, or API endpoint works and works properly. Tools described below will provide you comprehensive information about website availability, performance, hosting resource usage, and a lot of other valuable data.

Why is a website monitoring important

There are a lot of reasons to monitor your website.

You may use simple hosting, for example, shared hosting. Monitoring will show you website uptime. Uptime is a percentage of time a website has been working and available. If uptime is low, people can’t reach the website often and it is reasonable to change your hosting provider.

You may update…


I was needed to send emails for my new project. I have explored SaaS services first. Free packages provided by them have a small amount of sending emails. So as long as I am a programmer, I decided to host my own sending email server.

After some research, I decided to stay with Postfix send-only configuration. Continue to read how to install and configure SMTP server to send emails and not send them to a spam folder.

Prerequisites

I used a single-core VPS with Ubuntu 18.04 for just 2.5 USD per month. My main app uses a table in DB as…


My goal was to add Continue with Facebook (Log In) button into the existing Symfony application. I do not provide here full code. Only the main parts to creating your Facebook login button. Here is what I did.

Overview

Workflow overview is:

  1. User clicks the Facebook login button
  2. Facebook authenticate user
  3. App sends facebook token (auth data) to Symfony backend
  4. Backend gets user data (name and email) using auth data and logs in with Symfony handlers.

So Facebook is only necessary for the only first part — checking the person who wants to log in. …


I decided to make an app that will change display color while music playing. Kind of disco lights. Just to practice Android app development.

Sounds pretty simple. You just need to enable a microphone and respond to sound. But you need to implement a beat detection algorithm.

During development, I studied what is sound and how electronic devices work with it. Let’s get started.

How a microphone works

Sound waves move the diaphragm and coil inside a microphone back and forth. These movements converted into electrical current. The electrical current then converted to discrete values. …


Here is a short reference of some points in source code, which should help you to create XenForo 2 add-on. At first, I recommend you follow the official tutorial with an add-on sample.
You can find it here:
https://xenforo.com/xf2-docs/dev/lets-build-an-add-on/
Below you will find additional information I discovered during writing my add-on.

Prepare environment

I usually use Docker for such kind of app. I worked on an app with Memcached, so you will see it in the files below.
Here is the content of Dockerfile:

FROM php:7.2-apache

RUN apt-get update \
&& apt-get install -y \
zip \…

Konstantin Bogomolov

Web Developer | PHP Certified | Digital Nomad

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store