Create Subdomain In SSH
Jun 14, 2008How can create a sub domain for one of our accounts in SSH?
we use cPanel.
How can create a sub domain for one of our accounts in SSH?
we use cPanel.
OK here is the background of the problem.
I wanted to host customers for one of my scripts on subdomains.
So customer A will be on [url]
customer B will be on [url], and so on and so forth.....
As far as my knowledge goes, cPanel allows me to create an addon domain with it's own FTP account.
But I need to create subdomains, each with their own FTP account.
The subdomains should be isolated from each other, meaning customerA should not be able to access customerB's files (e.g. via PHP/perl script).
I have a feeling that this is possible with some hacks/workarounds.
My customer have a primary domain in PLESK and we parked 2 another domains on his domain, for example primary domain is domain.com and another domains is domain.net and domain.org .
now how we can create a sub domain with parked domains in PLESK ? for example sub.domain.org ?
I'm trying to create a subdomain using API but get this as the response:
[result] => Array
(
[status] => error
[errcode] => 1002
[errtext] => ProtDir_Apache::update() failed: Unable to create user protection directory:Service node is unknown for sysuser with id=0
[code]....
how do you set the hosting type for the subdomain?! I don't see this in the docs.
I am using Web admin edition .I need to create two subdomains namely sub1.example.com and sub2.example.com with different IP address. So i need to create two webspaces since a webspace cannot have two domians pointing to two different IP. So now to I can create two webspaces set to different IP. But to create sub1.example.com in one webspace and sub2.example.com in another webspace , i need main domain example.com in both the workspace. But if try to create example.com in second webspace it already exists.Because it exists in another webspace. Actually i dont want to create example.com in both webspace. i need to its subdomain in different webspace.
So one solution is to create example.com and sub1.example.com in one webspace and create another webspace using Adding new webspace and specifying domain name as sub2.example.com. But i don't know does the second subdomain will work properly without creating main domain.
In Plesk (V. 12.0.18) there is no possibility to create mail accounts for subdomains via web interface. The KB article [URL] ..... describes this problem. The article suggests two possible ways.
I don´t want to use option 1 (create subdomain as additional domain) because a subdomain as domain wastes a domain in the license model.
Instead of that I tried the second way (command line interface). I can execute the first command without problems. When I try to execute the second command, I get the following error: "An error occured during mailname creation: Unable to set password: Domain of type subdomain selected".
Customer has requested the following:
"Create a zend id for your machine." This is apparently for them to create a product key for their software and have to bind to it?!
I have never heard of this and have been unable to locate any information on it.
This is a Centos box with php 5.2.5 installed:
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
how to go about this or even what this is?
Wordpress installation (WPML with 3rd level domain es. site. com, fr. site. com).
I need to redirect page from subdomain to a new subdomain
Example:
esp.site.com/oldpage -> es.site.com/newpage (different subdomain)
esp.site.com/oldpage1 -> es.site.com/newpage
esp.site.com/oldpage2 -> es.site.com/newpage
Source site is very chaotic and there are no clear rule for redirection (no regex )
So I need to redirect every page but syntax:
Redirect 301 esp.site.com/oldpage http:// es.site.com/newpage
doesn't work!
which is the correct syntax ?
Can I manage all from one .htaccess file in main root (www) or should I create "esp" directory (and point old subdomain to it - one for every language) and put .htaccess in every directory with redirection ?
I have problem,
subdomain.domain.com - not working
www.subdomain.domain.com - working
When I creating new subdomain: subdomain2.domain.com - all working ok, I have problem only with this one domain.
I deleting domain.com, deleting dns zones, deleting account, adding domain to other account - all not working for subdomain.domain.com
When I was with another host, they set it up so one of my subdomains had a static IP address, and I was able to use this for my SSL certificate. My new host (sharkspace) uses CPanel (other host used HELM) but it seems to me like CPanel could do this as well.
Does HELM have some feature that CPanel does not? How do I set this up? They are telling me that they cannot do this for a subdomain, and I cant afford to go buy a wildcard ssl certificate.
They also told me in the past that the only way to redirect a subdomain was using an iframe (when using the DNS Zone Editor was entirely doable) so im not exactly sure their staff has much of a clue going on,
I want to create a subdomain "exchange.domain.com"
I want this subdomain to be redirected to another site. Possible? how?
the hoster has a catch all set on my domain, domain.com
but how can I add a subdomain and have that subdomain redirect to a different site in IIS 6 (WS2003)?
to block all IPs to a subdomain, except one. I am sure there are many ways to do this but I need the most secure. The domain does not need the IPs blocked, just the sub domain.
View 3 Replies View RelatedI am using PayPal's IPN to set up hosting accounts. It works fine if the user is setting up a domain such as name.com, but if they are using a subdomain from the hosting, such as subdomain.hosting.com, it fails to work. Here is the code I am using ...
View 0 Replies View RelatedHi, i was wondering how i would be able to use a subdomain to "dyndns". By dyndns i mean how some people use no-ip.org or dyndns.org to hide their IP address. It doesnt only hide and "mask" but it's basically like being on a normal website, where the website actually changes for each page you go to. For example pretend i was using no-ip.org.
Pretend i dont have a domain and i host a website through my VPS
Instead of 123.456.78.9, i used no-ip.or and it was now website.no-ip.org. But it not only masks, if someone goes to index.php. It would be website.no-ip.org/index.php and if someone went to chat.php, their address bar would say website.no-ip.org/chat.php.
But is it possible to do this with a subdomain?
I am trying to create subdomain for my site [url]but it is not working i tried with another name [url]and it worked however it shows subdomain has been created but dont works. I want the [url]but still it is unable to resolve it
I contacted to the host but i think i will get reply late. anyone knows how to resolve this
i got host with cpanel, i need create some subdomain accounts for user, a folder tree like this:
/home/user/www/
/home/user/www/subdomain_user1
/home/user/www/subdomain_user2
each user has ftp account, is this safe? can users use php script to access back to root or other subdomain? if yes how to protect?
I am trying to do is have a redirect so the files get redirected to a subdomain. So domain.com gets pointed to domain.newdomain.com. However, I want to keep the current URLs, so say I got [url], the below code is just redirecting that url to [url]rather than
[url]
Options +FollowSymlinks
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www.domain.com$
RewriteRule (.*) [url]/$1 [R=Permanent]
RewriteCond %{HTTP_HOST} domain.com$
RewriteRule (.*) [url]$1 [R=Permanent]
Is it possible to change DNS to a subdomain when the domain is hosted in a VPS?
What about for a dedicated server or a shared hosting?
I have a design client who's main site (eg. site.com) is currently hosted, let's say, at some-other-host.com. He wants to add a blog to his site. I could just set up a subdomain for it and be done with it, but for SEO purposes, I prefer to put his blog on my server which is a different IP.
So is there a way to put his blog, as a subdomain, on my server even though the main site is hosted elsewhere? Is there some magic that can be done in the DNS settings (cpanel/WHM) that can point to the files on my server? Or does he have to simply buy another domain for the blog?
I have a client that we will call "Domain.com" (example for this question).
Domain.com is a huge company that has their own servers, etc. etc.
However, they want me to host one of their subdomains for them...
[url]
Is this possible to host only that one particular subdomain for domain.com or are they going to need their root domain (domain.com) with me before I am able to host this subdomain.
And, if I can host only the subdomain, how do I do this?
Its just one of those things I have never done before in my years of hosting.
I currently have a domain example.com If I create a subdomain e.g. a.example.com and b.example.com can I host these subdomains with 2 different hosting comanys
View 3 Replies View RelatedI own a domain, www.mysite.com, and wanted to create a subdomain (sub.mysite.com) but wanted to host that sub domain on another host.
In otherwords, mysite.com is on my own dedicated server, but I wanted to host sub.mysite.com on lunarpages, godaddy, or any other host.
I didn't see this ability on Godaddy or Lunarpages which leads me to the question which hosts allow me to use my own subdomain while keeping my main domain on my dedicated server?
I'm using DirectAdmin as a CP on one of my server & recently I bought a new windows server with plesk as CP.
My DOMAIN is on my 1st server where i'm using Directadmin. I want to resolve my subdomain to my new server.
i have two servers with whm/cpanel and centos,
i host my domain.com on server-A and create a account with subdomain sub.domain.com on server-A,
some days later,
i move the account website to server-B,
a> i change the domain of sub.domain.com to sub2.domain.com on server-A from whm,
b> and i edit the dns from whm and add a a address record to point to the server-B.
i think my setting is right and the link will run well,
but i am not sure why sometimes people can not link the sub.domain.com,
and they check do the check "ping sub.domain.com",
and they will get the ip of original server-A,
because it assail me for months and i'm not sure how to fix it completely.
I am a server admin.
Recently, when I set up new user account, there's something strange in FTP.. ( Please check the image for detail )
Besides, all the new set up subdomain cannot use (no matter new or old user) and 404 error occur.
how to create subdomain email.
for example, I own abc.com, I want to create me@group1.abc.com, me@group2.abc.com. me@group3.abc.com
I have domain, let say it is www.mydom.com which is hosted at one IP. I would like to create subdomain www1.mydom.com and host it on another server with different IP address.
Is it possible?
we must point out all email services of domain domain.com
we make it under "edit dns" of WHM by change mail to NEW IP
this work fine BUT NOT for subdomain as sub.domain.com
The email sent to @sub.domain.com keep to delivery on old server
ho to set this?