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

Posted March 2, 2017 1.3k views

I have por example
and i want a to go to
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.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
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.