Question

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

Posted March 2, 2017 1.1k views
Apache

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
web
web
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.

×
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.
https://www.digitalocean.com/community/tutorials/como-configurar-virtual-hosts-de-apache-en-ubuntu-16-04-es
https://www.digitalocean.com/community/tutorials/how-to-set-up-apache-virtual-hosts-on-ubuntu-16-04

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