Hi all,
For those of you who host the website on the vps, how do you get your domain to points to different directory of your website on the server side? For example, if you host a Wordpress site on your VPS, if you want to go to the admin login area, you would type: "yourdomain.com/wp-admin," or "yourdomain.com/wp-login.php." But in my case, I have a Freenom domain, and I'm not using the URL forwarding, I set an A record to point to my IP address instead. so, I have mywebsite.com instead of typing the longish IP address to get to my website. When I'm on the main page, the address bar still shows my domain name, being mydomain.com, of course. But when I click like link login from the main page, the browser's address bar showing my IP again.
So, the question is, how do I prevent people from seeing my IP address to always show my domain.com followed by a / when I go to different page on my website?
Thanks.