AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |
Back to Blog
Or copy and paste the code below, then replace the DocumentRoot and Directory with your actual website root directory and its path, use your custom domain as the ServerName. You can copy and paste the sample code and then replace the ServerName with your own domain name. In this VirtualHost configuration file, you can see the VirtualHost example code. ![]() Find and open the Virtual Hosts Apache configuration file named nf using Notepad or other text editor programs you have. Add custom domain to XAMPPÄ«rowse to the installation directory of XAMPP in Windows File Explorer. Follow below steps to map the domain to the specific folder for the local websites configured using XAMPP. Now you have already pointed the custom domain to your local web server. You can refer to this tutorial to find and edit hosts file in Windows 10 for more details. It allows users to specify an IP address to use for a hostname or domain name without checking DNS. Windows computers have a hosts file, an operating system file, that maps hostnames to IP addresses. If you want to use a custom domain name instead of localhost in XAMPP, you have to firstly resolve the domain to the local IP address 127.0.0.1. ![]() Like similar software tools, when XAMPP setting up web server on your Windows computer, 127.0.0.1 is used to point the software to the local PC.
0 Comments
Read More
Leave a Reply. |