Reputation: 91
I am having issue on my Apache web server.
I am doing URL forwarding at domain controller control panel. Say our client typing the domain example.com
and it will redirect to 123.456.789.10/www
(my webserver fix IP address). Our client browser will then shows 123.456.789.10/www
on their browser instead of showing example.com
.
Is this anything to do to my Apache setting or how to go about it? It looks weird to show my client the IP address instead of the domain name.
Upvotes: 1
Views: 2666
Reputation: 888283
You should set an A record in your DNS registration to point the root domain name (@
) to your IP address.
(and probably a similar A record for the www
host)
You may need to configure the web server to respond to that hostname.
Upvotes: 3