- Plesk Onyx for Linux
- Plesk Onyx for Windows
example.comshows Plesk Default Page or Default Apache Page (Default Webserver Page)
Domain is assigned to a floating IP in DigitalOcean.
With tcpdump utility it is shown that domain's traffic goes to an internal IP:
# tcpdump -n "dst port 80 and src host 203.0.113.2"
tcpdump: verbose output suppressed, use -v or -vv for full protocol decode
listening on eth0, link-type EN10MB (Ethernet), capture size 65535 bytes
05:22:50.870868 IP 203.0.113.2.57486 > 192.0.2.2.http: Flags [F.], seq 1635309888, ack 2130394795, win 16425, length 0
05:22:50.876045 IP 203.0.113.2.57487 > 192.0.2.2.http: Flags [F.], seq 915298234, ack 1165555098, win 16425, length 0 \
where 203.0.113.2 - IP address of a machine the website is requested from.
The domain shows external IP address with a dig command:
# dig +short example.com
External IP is configured for the website at Domains > example.com > Web Hosting Access in Plesk.
Incorrect IP address mapping in Plesk.
In spite of the DigitalOcean system that maps IP addresses, IP addresses should be mapped in Plesk as well.
Add floating IP address as public IP to the anchor at Plesk > Tools & Settings > IP Addresses > 192.0.2.2 > Public IP address - 203.0.113.3.
Make sure that 192.0.2.2 IP address is selected for the website at Domains > example.com > Web Hosting Access.