База знаний

Connect a website to WebShield

Эта статья есть на вашем языке: Как подключить сайт к WebShield

Route your domain through WebShield and specify the server that hosts the website.

Before you start

You need access to the panel, your domain registrar and existing DNS records, plus the website server's IPv4 address and port. Check your balance if you choose a paid tariff. example.com and 203.0.113.10 below are examples: replace them with your own values. The remote IP belongs to your website server; the protected IP is the WebShield address shown in the panel.

Connect the domain

  1. Open WebShield → Create new site protect.
  2. Enter example.com in Domain, without https://, a path or a port. Select With www if you also need www.example.com. Your server must serve that hostname too.
  3. Set Remote IP to your website server's address, for example 203.0.113.10. Enter its listening port in Remote Port, such as 80 for a website already serving HTTP on that port.
  4. Click Select under the tariff you want. For a paid tariff, review Pay period and the total charge. Click Create.
  5. Wait for creation to finish. Open Manage project, then Manage site for the domain.
  6. Choose a DNS setup. Keep your current DNS provider and point the connected hostnames' A records to the protected IP shown in Domain delegation setup. Alternatively, move DNS to the nameservers displayed in the panel. Copy your mail and other records before changing nameservers; follow Move DNS without losing email.

Creating records in the panel does not change the nameservers at your registrar. Use the protected IP for the public website A record, and keep the origin address in Remote IP.

Domain, origin IP, and port in the connection form

Verify and correct problems

Run nslookup -type=A example.com and compare the answer with the protected IP in the panel. Check www separately if included. Open the website, several pages and its login form. Then check Free SSL.

For Domain not delegated, use the diagnostic article. To correct the origin, open Site protect settings, update Remote IP or Remote Port, and click Save. To restore the previous route, restore your saved DNS records or previous nameservers and allow for DNS caching. Fixing DNS does not require deleting the project.

Статья была полезна?