I want my subdomain to go to another part of my website and i dont know how! VHosts

March 2, 2017 952 views

I have por example holahola.com
and i want a hello.holahola.com to go to holahola.com/hi
there is some place i heard that says things like virtualhost:80
but i i think i dont have it!

i already searched on etc/httpd/conf/conf.d
And i have some things but not what i think i wwant to make the changes.

1 Answer

I’m guessing you’re speaking Spanish. And since you did not list which operating system you’re using, then I’m guessing it’s Ubuntu.

by Brennen Bearnes
The Apache web server is the most popular way to serve web content on the internet. Apache has the ability to serve multiple domains from a single server by using a mechanism called "virtual hosts". If a virtual host is configured correctly for each domain, the web server can correctly route traffic to the appropriate files based on the domain name requested. In this guide, we'll demonstrate how to configure Apache virtual hosts on an Ubuntu 16.04 server.
Have another answer? Share your knowledge.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!