A virtual host is often used for Web services that provide multiple domain names on a single IP address. This is useful if someone wants to run multiple Web sites on a single VPS with a single IP address. In this tutorial, let me show you how to set up a virtual host on Ubuntu 14.04 lts Apache Web server. Please note that this tutorial is for the 32-bit version o
1. view the Host NameIn ubuntu, there are multiple methods to quickly view the Host Name:1. Open a gnome terminal window and you can see the host name in the command prompt. The host name is usually located after the "@" symbol;2. Enter the hostname or uname-N command in the
NextArticle: Http://blog.csdn.net/sheismylife/article/details/8010040
After my previous article is completed, there will be some strange phenomena:
1. After logging on to the host through SSH from other machines, the connection will not be available after a while, and then SSH will not be able to log on until the network service of the host machine is restarted. (It has been found that the company's net
If you ping the domain name, ping:unknown host xxx.xxx appears.But when you ping the IP address, you can pass it.The DNS server is not configured properly,Check the configuration file/etc/resolv.conf, if there is nameserver xxx.xxx.xxx.xxx, such as the use of DNS server nameserver 8.8.8.8, if any, modify an available DNS server, such as 8.8.8.8 or 4.4.4.4, Save exit!Of course, if even the IP ping 8.8.8.8 are not ping, then the network configuration is
Http://www.33lc.com/article/4015.html
1. view the Host Name
In Ubuntu, there are multiple methods to quickly view the Host Name:
1. Open a GNOME terminal window and you can see the host name in the command prompt. The host name is usually located after the "@" symbol;
2. En
If you ping the domain name, ping:unknown host xxx.xxx appears.But when you ping the IP address, you can pass it.The DNS server is not configured properly,Check the configuration file/etc/resolv.conf, if there is nameserver xxx.xxx.xxx.xxx, such as the use of DNS server nameserver 8.8.8.8, if any, modify an available DNS server, such as 8.8.8.8 or 4.4.4.4, Save exit!Of course, if even the IP ping 8.8.8.8 are not ping, then the network configuration is
Ubuntu permanently modifies host name1. View Host NameIn the Ubuntu system, there are several ways to quickly view the hostname:One, open a GNOME terminal window, you can see the host name at the command prompt, the hostname is usually after the "@" symbol;Second, enter the
The Linux host name is set during the installation of the Linux operating system and is the only identifier of a host on the network. However, if you want to modify the host name after installing the Linux system, what should I do? This article describes how to use Ubuntu Desktop 9.04.
1. view the
This is in UbuntuCommunityThe Apache Virtual Host Configuration is found.
A basic configuration
We all know that if we want to set multiple domain names or host names on a single machine, we need to use a name-based virtual master
Machine. So how should we set it? This is the problem that this guide is trying to solve. In ubuntu/etc/apache2/Object
1. View Host NameIn the Ubuntu system, there are several ways to quickly view the hostname:One, open a GNOME terminal window, you can see the host name at the command prompt, the hostname is usually after the "@" symbol;Second, enter the command in the terminal window: hostname or UNAME–N, you can view the host name of
This is the basic configuration of Apache Virtual Host Configuration A found in the Ubuntu community. We all know that if we want to set multiple domain names or host names on A single machine, we need to use a name-based VM. So how should we set it? This is the problem that this guide is trying to solve. In the/etc/apache2/directory of
Ways to enable and deactivate a site
A2ensite Site name A2dissite Station Roll Call
Name-based virtual host (distinguished by domain name)
After installing Apache, there is a virtual host called default. When you create a new virtual host, you can directly copy the default virtual host's configuration file, and then modify the configuration parameters for the new
/etc/apache2/ports. conf......# Include generic snippets of statementsInclude/etc/apache2/CONF. d/
# Include the virtual host configurations:Include/etc/apache2/sites-enabled/
With Comments, you can clearly see the general functions of each configuration file. Of course, you can put all the settings in apache2.conf, httpd. conf, or any configuration file. This classification of apache2 is just a good habit.
The most important thing after ins
linux, we recommend that you install the virtual host panel AMH. For more information, see: install the AMH4.2 virtual host panel.
Update: I am too busy to get my driver's license. My girlfriend had no time to get online a few days ago. Take the time to update today.
Click http://shang.qq.com/wpa/qunwpa? Idkey = ba36ddc26faeeb84153430641f02e5d34ddbce3964ee945abbde0a9b002a118b
Or scan the QR code to join t
We all know that if we want to set multiple domain names or host names on a single machine, we need to use name-based virtual hosts. So how should we set it? This is the problem that this guide is trying to solve. There is
How to enable and disable a site
A2ensite site name a2dissite site name
Name-based (distinguished by domain name) virtual host
After apache is installed, there is a default virtual
After the Virtual Machine Ubuntu is installed in VMwareWorkstation, it cannot be shared with the host at first, that is, the copy and paste functions can be implemented between them. To solve the problem, you only need to install VMvaretools and then restart the Ubuntu virtual machine. In a windows virtual machine, there is an installation wizard when installing
The environment is as follows: the client is a notebook and the system is Ubuntu11.04; the host is a BT host and Windows XP. You want to check the BT download status in the interval ~ Of course, you can use RDP to connect to XP. However, Windows XP can only support single-user session, which means that if a user on XP is already downloading, there is no way to log on to this user account to view the Downloa
Sometimes after installing Ubuntu system, open the command terminal, terminal display of the host name format is ugly, such as I recently bought a cloud VPS in the country.[Plain]View PlainCopy
[Email protected]$
[Email protected]$
For the people who are neat and tidy, see so long also with the system name of the crossbar is annoying, want to go into various ways to eliminate him, fortunat
${apache_log_dir}/access.log combined
# for more configuration files from conf-available/, which is
# enabled or disabled at a global level, it's possible to
# include a line for only one particular virtual host. For example the
# following line enables the CGI configuration for this host only
# after it had been globally disabled with "a2disconf".
#Include conf-available/serve-cgi-bin.conf
I haven't installed the LAMP host in Ubuntu for a long time, because I want to test the wordpress theme and think of installing the Virtual Machine Ubuntu in this book. I will not talk much about it. let's first talk about the environment I installed: System: ubuntu12.04 desktop version of the host environment: apache
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.