Reputation: 93
I currently have an apache web server setup on my raspberry pi running Raspbian. I've opened the ports on my router and registered a domain name through a website. In the website I set the domain to forward to my pi's external IP address which works fine.
The problem I'm having is that when the browser gets to the site which is accessed by url, it displays the test page I have set up but in the address bar the IP is displayed and not the URL. Is there a way to change it so it will display my URL?
Upvotes: 3
Views: 2570
Reputation: 887415
You need to set an A
record to point the domain name at that IP address, instead of forwarding to a URL with the IP.
Upvotes: 0
Reputation: 113
Create an A record. Read the post below. https://support.dnsimple.com/articles/a-record/
Upvotes: 3