We own a vps domain ,which consists of only the basic plans.We dont even have plesk or control panel installed to create or manage sub-domains ,We have developed jruby on rails application which should run on vps under anyone of the subdomain , Now the problem is that we are not able to create sub domain using either IIS or apache server,We also got this domain from our client who currently directs this domain to his website.Can we create sub domain without the plesk panel where domain points to some other domain.We are able to resolve the subdomain in remote host ,we cant access it from outside.What should we do on this.......How to proceed with this........Can anyone help me out on this.....
Thanks in advance.........
1 reply to this topic
#1
Posted 30 September 2010 - 05:32 AM
|
|
|
#2
Posted 30 September 2010 - 07:12 AM
You need to ask your client to add an additional "A record" for the subdomain to their DNS that points to your VPS. That should bring the traffic to your VPS.
Then, for your Apache, you can setup the conf file to say something like
Then, for your Apache, you can setup the conf file to say something like
<VirtualHost *:80>
DocumentRoot /www/subdomain
ServerName sub.domain.tld
...
</VirtualHost>
Check out our update Guidelines/FAQ. When posting code, remember to use code tags -
.
.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users


Sign In
Create Account

Back to top









