A web application that monitors a domain's status i.e. ssl status and http response status.
- The application starts a server on a specified port (default: 8080).
- Users can access the application by visiting the server's URL in a web browser.
- The main page displays a list of monitored domains and their status.
- Users can add new domains to monitor by entering the domain name and clicking "Check Domain".
- The application checks the HTTP status and certificate expiry of the entered domain.
- The status and certificate expiry information are displayed in the list of monitored domains.
- The application periodically checks the status and certificate expiry of all monitored domains.
Go 🏃♂️
- Clone the repository: git clone https://github.com/tony-nyagah/domain-monitor.git.
- Change to the project directory:
cd domain-monitor
. - Build the application:
go build -o domain-monitor
. - Run the application:
./domain-monitor
.
- Port: The server port can be configured by modifying the port variable in app.go.
- Template: The HTML template for the main page can be modified in templates/index.html.
- Monitoring interval: The interval for checking the status and certificate expiry of monitored domains can be modified in the application code.
- Open a web browser and visit the server's URL (default: http://localhost:8080).
- The main page will display a list of monitored domains and their status.
- To add a new domain, enter the domain name in the input field and click "Check Domain".
- The application will check the status and certificate expiry of the entered domain.
- The status and certificate expiry information will be displayed in the list of monitored domains.