Remove Trailing Dot in Domain Name
Yesterday, I read an article talking about fully qualified domain names and its possible issues. Each domain name in fact has a dot at the end. The internet browser can either load rendykstan.github.com or rendykstan.github.com.. As you can see rendykstan.github.com. loads a 404.
The workaround introduced by the article requires you to have some knowledge in configuring Apache and enabling mod_rewrite.
1 2 3 4 5 |
|
If you are like me, uses a vhost. You will need to go to the sites-available directory to locate your vhost file and add the block of code below under your vhost. Change google to your domain.
1 2 3 4 |
|
A quick check to see if it is working using *curl.
1 2 3 4 5 6 7 8 9 10 11 |
|