The article is in Series FAQ Xampp
to answer questions 4 week July/2015 of readers on how to create a virtual domain for Xampp.
Readers ask: Hey Prince Attachment. I installed Xampp and to create virtual domains that don't know how to do? Help e are not ak?
To answer the question:
hey, you read,
You want to run virtual domains (virtual hosts) on Xampp then you should make sure that installing Xampp and Apache is already running. If you set the default Xampp in D drive so you go under with the path D:xamppapacheextra. The syntax for configuring the virtual domain is placed in the file httpd-my vhosts. conf, I will for example illustrates the following domain hoangluyen.com:
Crayon Syntax Highlighter v 2.7.1
# # Apache running on port 80 by default. Please fill out the port that you configure apache
& lt; VirtualHost *: 80 & gt;
# declare your admin mail (optional)
& i #x6e ServerAdmin; f & # 111; #x40; & h & # 111; #x61; & #x67; & #x6c; & n u & #x79; e & # 110; #x2e &; c & # 111; & #x6d;
# # the root folder of your website project (required)
DocumentRoot Japanese "C:/xampp/htdocs/hoangluyen.com"
# # your virtual domain Declaration (mandatory)
hoangluyen.com
# ServerName # report an extra name for virtual domain (optional)
ServerAlias www.hoangluyen.com
# #Khai report log files the error from domain (optional)
ErrorLog "logs/hoangluyen.com.log"
CustomLog "logs/hoangluyen.com.log" common
& lt;/VirtualHost>
1234567891011121314
# # Apache running on port 80 by default. Please fill out the port that you configure apache & lt; VirtualHost *: 80 & gt; & nbsp; & nbsp; & nbsp; & nbsp; # declare your admin mail (optional) & nbsp; & nbsp; & nbsp; & nbsp; Serveradmin info@hoangluyen.com & nbsp; & nbsp; & nbsp; # # the root folder of your website project (mandatory) & nbsp; & nbsp; & nbsp; & nbsp; & nbsp DocumentRoot Japanese "hoangluyen.com C:/xampp/htdocs/"; & nbsp; & nbsp; & nbsp; # your virtual domain Declaration (mandatory) & nbsp; & nbsp; & nbsp; & nbsp; Servername hoangluyen. com & nbsp; & nbsp; & nbsp; & nbsp; # declare a name for the virtual domain (optional) & nbsp; & nbsp; & nbsp; & nbsp; ServerAlias www.hoangluyen.com # #Khai report log files the error from domain (optional) & nbsp; & nbsp; & nbsp; & nbsp; Errorlog "logs/hoangluyen.com.log" & nbsp; & nbsp; & nbsp; & nbsp; CustomLog "logs/hoangluyen.com.log" common & lt;/VirtualHost>
[Format Time: 0.0033 seconds]
Profile on themselves are the virtual domain configuration guide: hoangluyen.com points to the project website hoangluyen.com in xampp's htdocs folder. If you don't have hoangluyen.com then please create a new website project with Xampp.
The next step you find hosts of the window under the path D:WindowsSystem32driversetc
To edit the configuration for the virtual domain: hoangluyen.com then open trust hosts. Use NotePad to open the file and edit but you remember that open notepad with Administrator permission.
Crayon Syntax Highlighter v 2.7.1
# space
#
# Additionally, comments (such as these) may be inserted on individual # lines or following
the machine name denoted by a ' # ' symbol.
#
# for example:
# 102.54.94.97 rhino.acme.com # #
source
# 38.25.63.10 x.acme.com sever # x client host
# localhost name resolution í handled within DNS itselt.
# 127.0.0.1 localhost
#:: 1 localhost
127.0.0.1 hoangluyen.com
123456789101112131415
# space ## Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a ' # ' symbol. # for example: & nbsp; & nbsp # & nbsp; & nbsp;; & nbsp & nbsp; 102.54.94.97; Rhino. acme. com & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # sever source # & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; 38.25.63.10 acme. com & nbsp x & nbsp & nbsp;;; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; # x client host # localhost name resolution í handled within DNS itselt. # & nbsp & nbsp & nbsp;;;;;; & nbsp & nbsp & nbsp; & nbsp & nbsp; 127.0.0.1; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp & nbsp; # localhost; & nbsp; & nbsp; & nbsp; & nbsp; : & nbsp; & nbsp: & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp; & nbsp;; localhost & nbsp; & nbsp; 127.0.0.1 hoangluyen. com & nbsp;
[Format Time: 0.0014 seconds]
So you type in the browser with the address: hoangluyen.com the results will show off your website project page. So is the complete virtual domains for Xampp and it
You try always see ya, please PM back to their help for you.
Wish you success. Cordially!
How to install Xampp
how to install XAMPP on the computer with the localhost and AppServ
Created and installed the WordPress website on localhost with Xampp
how to create and add virtual domain on localhost with Xampp
. Asked how to create a virtual domain for Xampp?
The main information of the article: how to create a virtual domain for Xampp, virtual, virtual domain host xampp, common errors, bugs or encounter, common errors, error handling, error situations, solve the error, fix the error, install xampp error, wordpress, wordpress FAQ Vietnamese, loi thuong gap, loi or gap, loi pho bien, cach xu ly loi Chris l, loi, loi, phuc loi khac huong tinh, reset error, error, error-installed xampp xampp, xampp, xampp start restart, port 80, bent 80, installing xampp, apache, mysql, database, connection, localhost, phpmyadmin, server, server, server, vps, wordpress tips, seo tips, web tricks, tricks wp
Vietnamese WordPress» WordPress Hoc» using WordPress» WordPress FAQ
wordpress-mobile-app-plugin
Nhận xét
Đăng nhận xét