How do I make an alien technology feel alien? The server has two IP addresses. When you add a name-based virtual host to an existing server, and the virtual host arguments match preexisting IP and port combinations, requests will now be handled by an explicit virtual The following example shows just one of the ways in which this error is created. weblink
In fact this is seen as
ServerRoot /etc/httpd NameVirtualHost \*:80
server apache2 14.04 virtualhost apache2.4 share|improve this question edited Mar 15 '15 at 15:59 Ashish Gupta 1106 asked Apr 19 '14 at 15:47 Victor Bocharsky 2801311 Related: askubuntu.com/a/362992/8698 –Dan Can I sell a stock immediately? Works either way, I'm just a stickler for clean configs. Apache Default Virtual Host IP-based Virtual Hosts Using Name-based Virtual Hosts Compatibility with Older Browsers See alsoIP-based Virtual Host SupportAn In-Depth Discussion of Virtual Host MatchingDynamically configured mass virtual hostingVirtual Host examples for common setupsServerPath
You must have the names in DNS, resolving to your IP address, or nobody else will be able to see your web site. Apache Virtual Host Example To learn how to set up your domain names with DigitalOcean, follow this link. thanks. Browse other questions tagged server apache2 14.04 virtualhost apache2.4 or ask your own question.
Old HTTP/1.0 clients do not send such a header and Apache has no clue what vhost the client tried to reach (and serves the request from the primary vhost). Apache 2.4 Virtualhost The test.com virtual host is working!