Ionic web application shows IP address instead of domain name

I registered a domain name on namecheap and masked the ip address of my server to that domain name. I ported webogram to ionic since it’s an angular application found here: and after installing ionic and running ionic serve, I type in the domain name and it takes me to my website BUT it changes the domain name to the ip address of the server. For example, becomes something like Let me know if you guys have an idea what it could be and how to fix it, I should also mention I’m running all of this inside a docker container with port 80 exposed.