In order for your domain to work you will have to create a DNS record that points to your server.
Create 2 records:
- A record with your domain name (e.g. mydomain.com) to your server IP
- A record with www as name to your server IP
Example first record:
Example second record:
These screenshots are taken from the Cloudflare panel, so your panel might look different but the fields are the same.
If you do not have the option to select 'Automatic TTL', then enter a value of 300.
This change can take up to 24 hours to come through (these days its really quick though) so be patient!