Mobile app version of vmapp.org
Login or Join
Connie744

: Apache: how to create subdomain on name-based virtualhost? i have name-based hosting, lets name it my.address.com - my friend have 'white' ip -address.com and gave me virtual machine than i can

@Connie744

Posted in: #Apache #Subdomain #Virtualhost

i have name-based hosting, lets name it my.address.com - my friend have 'white' ip -address.com and gave me virtual machine than i can access via ssh, also, he made some magic with ports and now after install apache i could access /var/www on the my.address.com.
So, the question is how can i make subdomain like test.my.address.com? There are should be some magick with Apache's Listen Directive, but i cant figure it finally.
Also, i know how to create local-available sites with apache, but it is not the same.

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Connie744

1 Comments

Sorted by latest first Latest Oldest Best

 

@LarsenBagley505

Your friend has to create another name based virtual host in the apache config files to make test.my.address.com SSH access to /var/www I assume is only the web root, not the apache folder.

If you have SSH access to / server root folder and have SU privileges you can create your own sub subdomain virtual host.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme