This can probably be fixed quite easily. I tried to research and find the answer to this but couldn't find anything relevant.
Basically, I can access my website perfectly through its url. (ex. example.com)
Whenever I click a link, go to my
/wp-admin, or go to any other page, my domain changes into the IP address. (ex. instead of showing
example.com/about it would show
How do I fix this? Do I have to edit a file or can this be fixed by adding a domain record?