Webmasters Stack Exchange is a question and answer site for pro webmasters. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question

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.

share|improve this answer
yes, i have root access to / on the virtual machine, is it what i need? so, what should i do? – scythargon Jul 29 '12 at 11:56
Use this guide digitalocean.com/community/articles/… – Anagio Jul 29 '12 at 11:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.