What DNS record values should I set to redirect a domain after creating webhosting?
Once
webhosting is created for your domain, it will be automatically redirected if certain conditions are met, and you don’t need to make any DNS settings.
The main conditions are:
- the domain and hosting are registered under the same customer account
- the domain uses FORPSI DNS servers
- the domain has no other DNS records set
With the Package service, DNS records are always set automatically.
If the domain was not redirected automatically in DNS = the listed conditions were not met, you will need to set the DNS records manually either on FORPSI’s DNS servers or on those used by your domain.
To redirect the domain to the web server, set the IP address that is listed in the
customer administration in the hosting service detail under the name
"Web IP (DNS A)". Other DNS records are listed in the table below:
Copy this IP address value and if your domain uses FORPSI DNS servers, go to "Domains" in the customer administration, click on the desired domain in the list and then on "Edit DNS records":
If the domain uses DNS servers other than FORPSI’s, the "Edit DNS records" option will not be available.
There are several possible approaches:
- Set individual DNS records on the DNS servers your domain uses – through their provider. A table is provided later in this article.
- Change the DNS servers to FORPSI via "Change DNS servers", see also the article Change DNS servers. After the change, you will be able to access "Edit DNS records" immediately.
- Transfer the domain to FORPSI and set FORPSI’s DNS servers as in step 2 above.
- Set FORPSI DNS servers at your domain registrar to the values: ns.forpsi.cz, ns.forpsi.it, ns.forpsi.net. For CZ domains, use the NSSET ID / name server set identifier: FORPSI.
Before making this change, please first contact customer support to verify that the domain is entered on FORPSI DNS servers and pointed to webhosting.
Once you select the "Edit DNS records" option, you can modify existing DNS records:
Steps to edit the main "A" DNS record for the domain "forpsi-test.com" are highlighted in red – enter the IP address value you copied from the hosting details. Leave the "TTL" value at the default 1800.
After clicking "Save", the IP address will be changed to the web server. DNS record changes will take effect after 30 minutes with the TTL value set to 1800 seconds.
You can similarly add needed DNS records for domain redirection including email using "Add new DNS record".
The values from the table can be used for setting up both FORPSI and other DNS servers your domain uses:
Hostname | TTL | Type | Value | Notes |
---|
your-domain.tld | 1800 | A | IP address | value from webhosting admin |
*.your-domain.tld | 1800 | CNAME | your-domain.tld | everything points to your-domain.tld |
autoconfig.your-domain.tld | 1800 | CNAME | autoconfig.forpsi.com | automatic email client configuration |
autodiscover.your-domain.tld | 1800 | CNAME | autodiscover.forpsi.com | automatic email client configuration |
webmail.your-domain.tld | 1800 | CNAME | webmail.forpsi.com | web interface for emails |
your-domain.tld | 1800 | MX | 10 mxavas.forpsi.com | priority number + mail server |
Except for the first record, the values are always the same. In the hostname, instead of "your-domain.tld", use the name of your domain.
To receive emails, set an "MX" type DNS record. If you don’t want to route emails through the FORPSI mail server, set only the first two records (A + CNAME *.your-domain.tld).
If you have also set alias domains for the hosting, you always need to manually set the DNS records, these are not automatically redirected!