In the previous article, we introduced a tutorial on how to get a free second-level domain in Cloudns.
However, this domain is a second-level domain and cannot be added to Cloudflare
, which is very inconvenient.
Today, I will share a tutorial on how to get a free top-level domain without needing a credit card, and how to add it to Cloudflare.
Introduction#
Parsdata is a company that provides data center services, offering virtual hosting, domain registration, and VPS to its customers. They currently offer free .ir domain registration, but there is a waiting list.
Limitations#
- Need to compete when there are many people
- Free for only one year, renewal requires payment
- Requires approval
- NameServer configuration issues (solution provided below)
Methods#
-
Register an account (excluding those who have already registered)
Visit: https://members.parsdata.com/default.aspx?dll=user&ctl=signup
Follow the prompts to register
As of writing this article, this page can only be used in Persian and cannot be switched to English.
-
Log in
Once registration is complete, go to the login page to log in
Visit: https://members.parsdata.com/default.aspx?dll=user&ctl=signin&cul=en-US
-
Register a domain
-
Go to the promotion page
-
Scroll down until you find a green discount code, copy it
This discount code is not an image and can be copied.
Each discount code has a quantity limit. If you find that it cannot be used, it means it has been used up.
Parsdata updates the invitation codes every few hours.
-
Go to the domain page
https://members.parsdata.com/default.aspx?dll=hosting&ctl=hostmanagement&a=1&cul=en-US
- Click on
Domain registration
- Follow the prompts to register
If you want to host with Cloudflare, keep the default settings and do not change the NS records for now, unless you can customize the Cloudflare name servers.
-
-
Wait for approval
It may take about 2 days. If you receive the following content in the registered email, it means the approval is successful
At this point, if you want to host with a service provider that provides name servers like ns1.xxx.xxx
, then this article ends here. If you want to host with a service provider like Cloudflare that provides name servers like xxx.ns.xxx.xxx
, please continue reading below.
Bypassing the "Name Server" Modification Restriction#
As of now, Parsdata cannot modify the nameserver to be in the format of xxx.ns.xxx.xxx
, which prevents it from being added to Cloudflare (except for custom name servers).
As shown in the image, it is not possible to save after entering this format of name server.
After my research, I found that it is a frontend check, so we can save it by modifying the frontend code or modifying the submitted data packet.
Here is a method to modify the data packet
-
Open the browser's developer tools and switch to the Network tab
-
Enter any name server that matches the format
ns.xxx.xxx
-
Capture the data packet
You can select the first data packet on the Network tab after submitting
You should get a data packet like the image below
-
Edit and resend
Right-click on the data packet and select "Edit and Resend"
In the message body, find the name server you entered (two of them)
Modify it to the name server provided by the service provider you want to host with
At this point, the modification should be successful. Wait a few hours and check on Cloudflare to see if it is successfully hosted.
If this article is helpful to you, remember to give it a thumbs up.
Sponsorship is even better