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.
Tell me more
×
Server Fault is a question and answer site for
professional system and network administrators. It's 100% free, no registration required.
|
|
|||
|
|
closed as not constructive by John Gardeniers, Lucas Kauffman, Ward, Scott Pack, rnxrx Aug 25 '12 at 5:48
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or specific expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, see the FAQ for guidance.
|
First you have to modify the DNS zone and add a record for Then, you just add another I suggest you read the Apache tutorial on name-based virtual hosts. |
|||
|
|