I have registered my domain from namecheap.com There I set up an A record type www pointing to my static IP address. If I enter my domain name in the browser address bar then the the welcome page is shown from my server, unfortunately if I click any link from my welcome page then the domain name changes to the static IP address/{link_name}
Example:
I type in the web browser address bar: www.example.com
=> my welcome page is shown. if I click on post1 from my welcome page then I would like to address in the browser to change to www.example.com/post1
.
Instead the address is changed to 44.21.11.22/post1
(the ip address of the server).
I am running a WordPress site and my server is a QNAP NAS.