Buying technical domain
Last updated
Last updated
Before buying domains, we need to register an account on the cloudflare platform.
Go to https://www.cloudflare.com/ and register.
After that we need to register 1 domain:
Technical domain - it can have any name and zone. it is needed only for the correct operation of the drainer. This domain will not be seen by visitors to your site.
For these purposes, I will use the registrar https://www.namesilo.com/
Register on this site, top up your balance and buy your first domain
Now I have registered a technical domain, the drainer script will work on this domain. You need to set it up correctly. To do this, copy the domain name and go to the site https://dash.cloudflare.com/
Click on the "Add a site" button
Enter the name of the technical domain and click "continue"
Choose a free plan and click "Continue"
In the window that appears, we need to copy the values of Nameserver 1 and Nameserver 2
Go to the site https://www.namesilo.com/account_domains.php Select the Technical domain and from the top menu select "Change Nameservers"
In the window that appears, insert the new Nameserver 1 and Nameserver 2, which we received on the Cloudflare service and click "submit"
After the changes are saved, go to the website https://dash.cloudflare.com/ To the section "SSL/TLS - Overview". Change the parameter to "Flexible"
Then go to the "SSL/TLS - Edge Certificates" section. The "Always Use HTTPS" feature must be enabled.
Go to the "DNS - Records" section and click "Add Record"
Create a new record. In the "Type" field select "A" In the "Name" field write "@" In the "IPv4 address" field write the IP address of the VPS server we bought earlier