Plesk 11.x / Windows :: How To Change Subdomain To Sub Directory
Feb 25, 2015
I use plesk 11, I was creat sub directory: domain.com/test. but I access via test.domain.com is ok, but domain.com/test is error " page not found" how to I access via domain.com/test ?
View 2 Replies
ADVERTISEMENT
Sep 28, 2014
I'm setting up a SAAS service which is built on top of Laravel. To put it simply the service itself knows whether its being called from a sub.example.com or just example.com and serves a correct response accordingly. So going to sub.example.com will use the same index.php file as example.com but the routes and controllers within the application will provide a different response. sub.example.com will show a tenant login page where as example.com will show a new tenant subscription page or something else.
So when someone new subscribes I add a new entry to the database with a subdomain name for them and when a request comes from that subdomain and they are logged in it will show them their information. Easy right.
There is a problem though with setting it up with Plesk. When I add a wildcard subdomain, it will look for /subdomains/sub/ for the files which is a bit problematic since I want it to serve the files from the same place as the domain example.com.
Is there a way to configure that so that regardless of the subdomain it will try and serve the exact same content as my main domain?
View 2 Replies
View Related
Feb 11, 2015
I have to change what file and how to modify it to allow only one subdomain to have access through port 8015 and not using port 80?
View 7 Replies
View Related
Dec 18, 2014
I use plesk Parallels Plesk Panel v9.5.4_build95110630.14 os_CentOS 5
I read here [URL] ....
But how can i change other disk?
I want change the default directory for backups in /dev/sdb1 disk.
my fdisk -l output this:
Code:
[root@server /]# fdisk -l
Disk /dev/sda: 500.1 GB, 500107862016 bytes
255 heads, 63 sectors/track, 60801 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
[Code] ....
View 1 Replies
View Related
Nov 14, 2013
I want to move the data directory to another partition on all nodes. Apache (vhost), IIS (vhost), MySQL (databases) and Postfix (mailbox content). What's the correct way to do this without breaking functionality of PPA?
View 5 Replies
View Related
Oct 4, 2012
I have 2 domain names, lets say domain1.com and domain2.com.
domain1 is the main domain and it has a subdomain, lets say sub.domain1.com.
What i want to do is to forward domain2 to domain1 without loosing its name. I used frame forwarding at plesk panel. The domain2 is correctly forwarded to domain1 without loosing its name. The problem is that the sub.domain2.com displays the domain1.com and not the sub.domain1.com
Below are my dns settings at domain2.com:
xx.xx.xx.xx / 24 PTR domain2.com.
sub.domain2.com. A xx.xx.xx.xx
ftp.domain2.com. CNAME domain2.com.
ipv4.domain2.com. A xx.xx.xx.xx
[Code] .....
where xx.xx.xx.xx is my ip.
The funny thing is that webmail.domain2.com works fine.
View 1 Replies
View Related
Apr 24, 2014
I am trying to write a script PHP creating a subdomain on a server when executed (as well as doing other stuff, but that part work). But, when I send my request to the server, the script, while it does create the subdomain, doesn't display anything upon execution (I have put a few echo in the script to check the advancement, and nothing appears).
The error message : Echec du chargement de la page Aucune donnée reçue.
Here is my code :
/**
* Returns DOM object representing request for creation of new subdomain named after the parameter
* @return DOMDocument
*/
function createSubdomain($nom)
{
$xmldoc = new DomDocument('1.0', 'UTF-8');
$xmldoc->formatOutput = true;
$packet = $xmldoc->createElement('packet');
[Code] ....
The function curlInit and sendRequest are those used in the examples provided on this site, but I put them here just in case :
/**
* Prepares CURL to perform Plesk API request
* @return resource
*/
function curlInit($host, $login, $password)
[Code] ....
Why it doesn't send anything back ? When I modify the property line in the request, the script displays something, but it also fails at creating the subdomain (because the parameters are incorrect).
View 3 Replies
View Related
Jul 8, 2014
In the attached image, the following error details to create a new subdomain
View 3 Replies
View Related
Apr 7, 2014
I need to make it so that all possible subdomains will go to my main site
How do I do that?
View 4 Replies
View Related
Feb 19, 2013
I've got a plesk 11 server and I've created a subdomain for a client but I need to have this as a full domain for the SSL certificate. Is there a way to convert a subdomain to a full domain without deleting the subdomain and creating a new hosting subscription?
View 2 Replies
View Related
Sep 18, 2012
I have a client that has a subdomain shop.xxxx.com. This subdomain needs its own SSL and own IP address for it. Right now its listed as a subdomain under xxxx.com. Also, the xxxx.com has another SSL and IP.
Since there doesnt seem to be any way to do this in plesk, I had to create the subdomain as a regular subdomain and then manually manipulate IIS to change the IP and add the ssl mapping.
If I try to add a new domain, it automatically tags it with the WWW.
Is there any way to just create a new domain without the www infront of it, so I can move shop.xxxx.com from a subdomain to a primary domain that stands alone...
I haven't played around much with the new iis 7+, but in older iis, you needed a dedicated IP for each SSL certificate.
View 3 Replies
View Related
May 1, 2013
recently i created a domain subscription with 3 alias domains. Thanafter i created a sub domain to a folder in the main domain. At first all went fine but after deleting the alias domains subdomains ans domain supscrption to register all the 4 domains each seperately a problem accured and i cant add any subdomain to none of the 4 domains. registering the domains themselves as individual domain works for each one perfect. But as soon as i try to add a subdomain on any of that 4 domains i get an error that the dns data could not be updated. As it looks like there is still some codes in the plesk database that links to 4 domains in any kind together and prevents me to creste a subdomain.
How can i manually remove all the domains subdomains and alias domain garbage from the plesk database. I use windows version of plesk panel 11.0.9 on windows 2008 server datacenter edition. I have good skils in IT but im not familiar with mysql and plesk. how to remove the records from plesk Mysql database. Command line commands internal commands locations that have to be altered and all other needed steps.
View 1 Replies
View Related
Aug 12, 2012
1. I create my first domain aaa.com, plesk create c:intetpubvhostaaa.comhttpdocs,
2. now i create another domain bbb.com via plesk control panel, it creates both directory :
c:intetpubvhostaaa.combb.com
c:intetpubvhostbb.comhttpdocs
3.the issues here, after config DNS from domain provider, i access to domain bbb.com on the brower, plesk use the index file in c:intetpubvhostaaa.combb.com .
i want c:intetpubvhostbb.comhttpdocs is public directory folder for domain bbb.com
View 2 Replies
View Related
Aug 1, 2012
How can I set dedicated IIS Application Pool for each domain/subdomain? I only can found the setting assign one application pool for each subscription. But my subscription have two subdomain (one subdomain have virtual directory to share to other subdomain) and would like have two application pools.
View 7 Replies
View Related
Mar 21, 2015
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.
View 1 Replies
View Related
Sep 24, 2014
I need a private directory under {WEBSPACEROOT} e.g. d:/inetpub/vhosts/domain-name/ .
This is possible under the other's dedicate webserver running plesk for linux. (as a matter of fact linux version of plesk has a folder called private, for example to hold php files not accessible via http)
I have create this directory but is not accessible via php, and seems that is not possible to set the permission for the domain-owner.
I have set the desired path in open_basedir but this is have no effect...
View 1 Replies
View Related
May 1, 2014
I use Nas to manage the customer site folder.
So the folder directory will be "as1webhostxxx" this format
I found that plesk panel default directory is inetpubvhosts
How to move the Virtual Hosts Directory to Nas ?
View 9 Replies
View Related
Dec 22, 2013
I have a vps server and i am trying to create ftp account and i am getting this error:
Unable to start (/c ""C:Program Files (x86)ParallelsPleskadminbinserverconf.exe" --list"): (267) The directory name is invalid.
---------------------- Debug Info -------------------------------
0: Exec.php:43
plesk_proc_open(string '"C:Program Files (x86)ParallelsPlesk/admin/binserverconf" --list', array, string 'C:Program Files (x86)ParallelsPlesk/tmpagent78f0fd54abecb83b12f6c9fdde9b5b84', array)
1: Exec.php:43
[Code] ....
View 9 Replies
View Related
Sep 22, 2012
I have a problem with my plesk v11, when i create a new subdomain and upload my asp.net application to that and make a request to view my web page it get Server Error 401 :
401 - Unauthorized: Access is denied due to invalid credentials.
You do not have permission to view this directory or page using the credentials that you supplied.
But my main web site have not any problem and works fine, my changes that didn't work :
1) change in web.config file :
<authentication mode="None">
</authentication>
2) change in web config file :
<authorization>
<allow users="?"/>
</authorization>
Another question that i have is this happens because the Plesk's default permission assigning to the main domain so the users can view content without problem, but the permission isnt assign to the created subdomains ?
If this is the problem, how can i fix it so my users can see the content with our Windows Authentication or Forms authentication or anything else?
this is my domain name : www.senatex.ir
and this is my sub domain : nerkh.senatex.ir
Also parallels default host files not have any problems, for example : content.senatex.ir
View 1 Replies
View Related
Jun 30, 2012
I recently upgraded to version 11.0. Since the upgrade, I am not longer able to to create Sub-Domains. I did this all the time with version 10x with NO issues whatsover, but now I get the following error when trying to create a subdomain:
Error: Invalid webmail type
SCREENSHOT OF ERROR IS ATTACHED.
View 9 Replies
View Related
Jul 4, 2014
I have this big problem, when I try to create a new signature, it returns me this error (ProtDir_IIS :: update () failed: Add Protected Directory failed: columns SiteId, path are not unique (Error code 1)).
View 3 Replies
View Related
Oct 11, 2013
I have 11.5.30 and no new FTP accounts work. All I get when trying to connect is 530 User cannot log in, home directory inaccessible. I have run the command:
"%plesk_cli%
epair.exe" --reconfigure-ftp-site -webspace-name site.co.uk
removed and added the user again repairing in between. I have manually tried creating the user folder under default/6/localuser/username and setting permissions. I have checked the local windows account and the home directory is fine.
All old accounts create previously work fine. I could at least connect on the master FTP site with the local user folder but then it was read only.
View 7 Replies
View Related
Mar 27, 2008
How do those websites do a website like this.
[url]
But when you go to
[url]
It's not there. O_o Cuz you know how when you create subdomains in cpanel, it will create a folder for you? I wanted to do it where,
[url]
doesn't rely on that folder, but acts more like a public_html directory.
View 10 Replies
View Related
Feb 26, 2008
i'd like to use a code similar to the one below, to rewrite a sub directory to a subdomain. www.domain.com/aoa/info/ to info.domain.com and then error 301 if someone goes to www.domain.com/aoa/info/ directly
# rewrite foo subdomain requests to foo subdirectory
rewriteCond %{HTTP_HOST} ^foo.example.com
rewriteCond %{REQUEST_URI} !^/foo/
rewriteRule (.*) /foo/$1 [L]
#
# Prevent direct client access to foo subdirectory
rewriteCond %{THE_REQUEST} ^[A-Z]{3,9} /foo [NC]
rewriteRule ^foo(.+) [url]
View 5 Replies
View Related
Aug 20, 2007
I have a problem here.
I have 2 domain on 1 account, which one is called domainA.com & domainB.com is an add-on.
I created 2 same subdomain name which are assigned to same subfolder!
subdomain.domainA.com (/public_html/subdomain)
subdomain.domainB.com (/public_html/subdomain)
The question is: How do i change domainB subdomain folder to something else? (eg. /public_html/domainb/subdomain)
View 1 Replies
View Related
Jul 10, 2014
I don't know why, but only one server with Plesk 12 if i create additional ftp accounts not working. i receive error:
530 User cannot log in, home directory inaccessible.
If i use principal FTP account works fine.
View 5 Replies
View Related
Mar 7, 2015
I want to change subscription from vmtraininginstitute.com to vmtechnosys.com. How can i do?
View 1 Replies
View Related
Jul 4, 2012
I have a working PHP on the server, it is enabled and the sites are working. However they are not synced with the plan. If I try to sync it it shows:
PropertySubscription valuePlan valueAvailable valueAffected sites PHP supportswitched off switched onswitched off mydomain.com
Now how do I change the available value to be switched on?
View 6 Replies
View Related
Jan 8, 2014
Today I received this Error Message when i try to change php value for a Domain.
Error: ProtDirUser_IIS::update() failed: Update Protected Directory #427 user failed: no such table: ProtectedUrls (Error code 1)
View 8 Replies
View Related
Oct 10, 2013
I have an ecommerce store. dns at godaddy. A record www points to the 3dr party hosted shopping cart solution on ip a.a.a.a. I also have a blog. A record blog subdomain points to another server b on ip b.b.b.b hosted away from the shopping cart server a completely.
So www goes one place and blog goes to another.The problem is I need to somehow make the blog appear within the main site as URL...blog instead of as a subdomain blog.domain.com.
I cannot access or modify the hosted shopping cart server in any way. I cannot load wordpress there, that is why it is on a completely separate server.I've been told this is perhaps possible with a reverse proxy configuraton on server b where ip b.b.b.b is.So that even though blog. points to server b it can appear that the url is www.mydomain.com/blog and the blog pages off that directory as well.Can this be done via reverse proxy?
View 8 Replies
View Related