When I click on Site Preview button, I get "Server not found" error.
Incorrect configuration is set for Preview in Plesk Home -> Tools & Settings -> Website Preview Settings. Domain that is used for quick preview is not resolvable.
Please use information from the Guide:
Use the limited preview, the default variant. If some site content is not displayed correctly (for example, website scripts and Flash animation) use some another domain (created by Administrator, not often used for preview and resolvable from internet)for Quick Preview.
When "Quick Preview on a domain name in Panel" option is checked Plesk adds a wildcard DNS record on the local server (Master DNS):
# plesk db mysql> select id,dns_zone_id,type,host,val from dns_recs where host like '%27-112-109-84%'\G; *************************** 1. row *************************** id: 486 dns_zone_id: 10 type: A host: *.1-2-3-4.domain.tld. val: 22.214.171.124 1 row in set (0.00 sec)
If for example, the domain
'vps-100.cp.myplesk.tld'is chosen from the drop-down list of "Quick Preview" settings it means that the preview page will be opened by link http://example.com.12-112-113-10.vps-100.cp.myplesk.tld/ on the domain
Make sure that the selected domain in the drop-down list can be managed by the authoritative DNS server on the Plesk server:
# dig vps-100.cp.myplesk.tld NS +noall +answer +short ns1.myplesk.tld. ns2.myplesk.tld.
It is also possible that authoritative DNS servers are slave servers allowed with transferring zones from Plesk master DNS server.
# dig vps-100.cp.myplesk.tld NS +noall +answer +short ns1.slavedns.com. ns2.slavedns.com.
To sum up, the basic requirement is that the new wildcard record created by Plesk can be resolved to Plesk IP address. The output should be:
# dig @ns1.myplesk.tld abc.12-112-113-10.example.com A +short 126.96.36.199
Also a custom DNS zone can be specified in "Quick Preview on an external domain name" settings. Obviously you must have an ability to manage this zone. For example, if you will type "my-managable-zone.com" where autoritative server is an external server with the address 188.8.131.52 and the record
*.12-112-113-10.my-managable-zone.com. IN A 184.108.40.206
then the correct page can be opened from the external network.