Plesk 12.x / Linux :: Delete Subdomain Without Removing Files Or Database?

Aug 30, 2014

I cannot seem to find a conclusive answer to this. I use subdomains to create client websites then once they are in their own domains the subdomains still remain. Can I delete only the subdomain and leave all the files or at least leave the database since it is still connected to the new domain. Example below.

subdomain.example.com uses database1

newsite.com still uses database1

Is there a way to copy the database into the new domain?

View 1 Replies


ADVERTISEMENT

Plesk 11.x / Linux :: Remove Domain Alias Warns It Will Delete All Related Files

Sep 2, 2013

I think the wrong text is displayed for the option "Remove Domain Alias".

In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.

I think this is incorrect because removing an alias should not remove any files, directories, and web applications.

View 3 Replies View Related

Plesk 12.x / Linux :: Making Subdomain Serve Files From Same Directory As Main Domain

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

Plesk 11.x / Windows :: Prevent Removing Files On File Manager

Jun 4, 2014

How Can I prevent users removing file web.config on FileManager?

I try set attribute read-only, but not effect.

View 4 Replies View Related

Plesk 11.x / Linux :: How To Rebuild Awstats Static Pages Of Migrated Database Files

Mar 14, 2014

I had an hosting account with a copany, recently I migrated to VPS managed by plesk 11.5..I was able to get the awstats database file from the old host, and i have copied them in the /var/www/vhosts/mydomain.com/statistics/webstats/ folder, together with the other database files genereted by the new VPS hosting

Only problem is that plesk only rebuilds everyday the static page for the current month, and I see no way to ask him to build the pages for this past months. Also would be good if he would rebuild the header to have updated the dropdown menu from which to choose the month to dispay..Is it possible to rebuild manually these static pages?

View 5 Replies View Related

Plesk 11.x / Linux :: CentOS Backup Commands For Website Files And MySQL Database

May 27, 2014

I need a command way of backing up my website files and Mysql databases. I no longer have access to the static ip to access the panel.

View 1 Replies View Related

Plesk 11.x / Linux :: Website Files Copied To Another Domain But Database Remains On Old Site

May 18, 2014

When I use website copy function the website files are copied to another domain but the database remains on old site. I use this function to move the website from devel state to the production state. All sites work fine but when i schedule the backups all databases are saved on old domain. How to move the database on production domain?

View 1 Replies View Related

Plesk 11.x / Windows :: Delete Temp Files In Folder?

Jun 20, 2013

I had a Problem with my FTP-Backup space, so PLESK couldn't do the daily backups that I configured. The problem with the ftp backup is solved. The backups are running again but there are still many large temporary files in a plesk folder.

Can I just delete them, or is this a bad idea?

The folder:
C:Program Files (x86)ParallelsPleskPrivateTemp

Screenshot

View 3 Replies View Related

Plesk 11.x / Windows :: Can Delete Files Of Recycler Folder?

Apr 21, 2013

I have noticed that i never install any program on my Server and my files of Web only 5 GB and Windows take 15 GB (My Hard Disk Usage 30 GB). Now my disk space available 1.7 GB. But when i go to check in the Recycler folder. There many files are taking up huge amounts of space, some are in excess of 10 GB . So could i deleting these files? How can I automatically delete contents of Recycler folder?

View 7 Replies View Related

How NOT To Require CHMOD 755 Permissions To Create, Write And Delete Files On Linux

Dec 30, 2008

On my previous server and on some other hosts, I was able to write to files (for example with PHP) without having to chmod the files first.

Now I cannot, and files are required to be chmoded properly so I can write to them.

I cannot even touch() a file with PHP.

Is there any way to have this permissions removed?

I don't want to chmod the all thing, all I want is to change the configurations so I can fwrite() or file_put_contents() normally.

I's a dedicated un-managed server, so basically any advanced configurations can be done.

View 8 Replies View Related

Plesk 12.x / Linux :: Removing FTP-user Through API Results In 500 Internal Server Error (PHP)

Apr 28, 2015

To automate some tasks for some projects I'm working on, I need to be able to automatically create or delete ftp-users.

Creating and listing ftp-accounts is working great, but when it comes to deleting them I run into an internal server error. Before my script gets the response it's waiting for, the script crashes.

- When live watching the Apache error-log with 'tail -f', the terminal-session is exited with 'Killed (core dumped)'
- Apache error-log shows:

Code:
(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://example.com/ftp.php?action=delete
Premature end of script headers: ftp.php, referer: http://example.com/ftp.php?action=delete
- Webbrowser shows default '500 Internal Server Error'

I have checked and changed time-out settings, but it didn't work. Error occurs a few seconds after executing, while the timeouts are set to 60 to 90 seconds.

Packet send to Plesk:

Code:
<?xml version="1.0" encoding="UTF-8"?>
<packet version="1.6.6.0">
<ftp-user>

[Code].....

View 15 Replies View Related

Removing Large Files Or Folders CentOS

Jul 13, 2008

Something weird happening here. I have tried every string possible...

There are a number of folders I want to remove off my server, tried the good old and simple...

rm -r /folder/

And then went and ended up with a string as long as my screen. No matter what I do, as it goes recursive in to the directory it asks me if I want to remove each file individually. No matter what string or action I take it insists on asking me as it goes to delete each file.

Could this be a configuration option in CentOS?

View 3 Replies View Related

Best Way Of Removing Files And Cleaning Up When Finishing A Server Rental

Feb 14, 2008

What's the best way of removing files and cleaning up when finishing a server rental?

View 9 Replies View Related

Plesk 12.x / Linux :: Delete IP From Panel

Sep 14, 2014

I have 2 IPs for my vServer. Plesk automatically add both addresses to the Plesk Panel. One of the ip address I want to use for another service (openvpn). The Problem is, that i can't delete the IP from the Plesk panel.

I got the message: Fehler: String was provided for unescaped parameter host.

There are no reseller or customers who use this IP. So how can i solve this problem and delete the IP from the Panel?

Using Plesk 12.0.18

View 7 Replies View Related

Plesk 12.x / Linux :: Delete Domain Without Data?

Nov 10, 2014

I can not delete only a Domain and replace it with a other Domain. There is just the possibility to delete the Domain incl. the data. The Problem is i have 2 Domains that point to the same root-directory. And now i was making a new website in a other directory. And now i want to use one of this domain for my new website. But i can't change it. Also if i change the document root, the website d'ont use the new domainname - it makes like a redirection to the old domainname.

View 3 Replies View Related

Plesk 12.x / Linux :: Unknown Database Atmail When Selecting Database

Nov 20, 2014

When I update servers via CLI autoinstaller, I always (afair) get this mysqldump error message:

Code:

Stopping psa... * Stopping Plesk engine pool manager sw-engine-fpm
...done.
done
-- Warning: Skipping the data of table mysql.event. Specify the --events option explicitly.

mysqldump: Got error: 1049: Unknown database 'atmail' when selecting the database

===> Cumulative APS controller database (apsc) upgrade has been started.
===> Cumulative upgrade of APS controller database has been completed.
===> Cumulative Plesk database upgrade (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade of Plesk database (revertable stage) has been completed.
Reading package lists...

There is no database "atmail" on any of our Plesk servers. Simple solution should be to first check if the DB exists before performing actions on it.As a bonus, perhaps it would be possible to suppress the warning about mysql.event.

View 5 Replies View Related

Plesk 12.x / Linux :: Impossible To Delete PTR Record On Domain Name

May 24, 2015

Plesk: 12.0.18
OS: CentOS 6.5 (Final)

Impossible to delete my PTR record (DNS) on a domain name. Message error: Impossible de restaurer la zone DNS : une erreur s'est produite en ajoutant l'enregistrement (IPv6 du serveur) IN none mondomaine.fr. : Des valeurs incorrectes ont été indiquées pour l'enregistrement DNS.

View 1 Replies View Related

Plesk 12.x / Linux :: Create / Delete Domain Hangs

Jul 12, 2015

This happens when I try to add a new domain or when I am trying to remove a domain. It just hangs, the browser says waiting on server while plesk just hangs. This is a fresh new install of Plesk 12 as well. I added a bunch of new domains tonight. No crazy changes or anything to plesk. I have found nothing so far in my search.

View 1 Replies View Related

Plesk 11.x / Linux :: Unable To Delete Default Certificate?

Nov 20, 2014

My default certificate expired recently. I created a new certificate "default certificate 2".

I used this certificate for "Secure the Panel"

I went to "Tools and Settings" -> "IP addresses" and made this certificate the default for all the IPs. On the page "Tools and Settings" -> "SSL certificates", it says Used: 0 next to "default certificate".

But when I try to delete it, it tells me: "Error: Unable to remove certificates: one or several certificates are assigned to the IP addresses/domains."

Is there anywhere I can check where this certificate is still used?

View 3 Replies View Related

Plesk 12.x / Linux :: Databases Are Not Deleted When Delete A Subscription

Oct 29, 2014

I have done many tests and always fails.= Plesk 9.5 to Plesk 12 =

I perform a migration with several domains from Plesk 9.5 and Plesk 12, it runs well. Then I remove all the migrated domains in Plesk 12 server. Then I perform a new migration with the same domains from the same server with Plesk 9.5 to the same server with Plesk 12 and it fails.The reason is that Plesk 12 doesn't remove the databases attached to the subscriptions. The new migration tries to deploy the databases and it can't because the same databases with the same users are deployed already.

I tried to remove the databases with `plesk bin database` and it was not enough. Maybe the same error will show when you migrate from Plesk 11.5/12 to Plesk 12.

View 3 Replies View Related

Plesk 12.x / Linux :: How To Delete Disk Quota With License Web Admin

Mar 16, 2015

We have a lot of server with Plesk Panel 30 domains.We have migrated a website with a 2 Go disk space quota on a virtual server with Web Admin Plesk Panel License. So, we don't have field (or we don't find...) to update this value (or delete it). The website disk usage is now 2.1 Go. Every day, we have an email alert.

View 14 Replies View Related

Plesk 12.x / Linux :: Auto-delete Spam Folder After 30 Days

Sep 12, 2014

Mail in the spam folder is supposed to be deleted after 30 days.

I have some mail that has been in the Spam folder for 40 days. Why hasn't it been auto-deleted?

View 1 Replies View Related

Plesk 12.x / Linux :: DNS Command Line Utility Fails To Delete TXT Record

Apr 7, 2015

Although running
>>
/usr/local/psa/bin/dns --info dev.sname.c002.aname.domain.com
>>
shows the 'ecz1' TXT record exists for "dev.sname.c002.aname.domain.com" :
...
ecz1.dev.sname.c002.aname.domain.com. TXT ecz1

[Code] ....

The issue can be caused by extra spaces in the TXT record:

Code:
[root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --add dev.sname.c002.aname.domain.com -txt 'ecz1 ' -domain ecz1
SUCCESS: Creation of DNS record in Domain 'dev.sname.c002.aname.domain.com' complete.
[root@a10-52-143-28 ~]# /usr/local/psa/bin/dns --del dev.sname.c002.aname.domain.com -txt 'ecz1' -domain ecz1
Unable to del record in DNS server: unable to find DNS record

In the following example I have 3 such TXT records with 3, 5, 7 extra spaces and remove record with 3 spaces:

Code:
[root@a10-52-143-28 ~]# mysql -u admin -p`cat /etc/psa/.psa.shadow` psa -e "select host, val, (length(val) - length(rtrim(val))) as extraspaces from dns_recs where host='ecz1.dev.sname.c002.aname.domain.com.' and val like 'ecz1%'"
+---------------------------------------+-------------+-------------+
| host | val | extraspaces |
+---------------------------------------+-------------+-------------+
| ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 5 |
| ecz1.dev.sname.c002.aname.domain.com. | ecz1 | 3 |

[Code] ...

Click to expand...
Click for original message

View 12 Replies View Related

Cant Delete Files

Jul 12, 2009

im try to delete some file from cpanel but everytime i delete nad refresh they come back
also if i try to change the perms it does not let me?

View 14 Replies View Related

How To Delete Files

Aug 13, 2008

i have installed the Domain Technologie Control Panel on Debian Etch, and have 2 folders that will not delete via FTP

I was wondering if anyone had a tutorial or could tell me how to be able to delete them....

View 14 Replies View Related

Delete Files In /var/log

Aug 3, 2007

I am currently freeing up some space on my VPS and want to know if it ok for me to delete the following files in: /var/log/

apf_log.3
apf_log.4
boot.log.3
boot.log.4
cron.3
cron.4
exim_mainlog.3.gz
exim_mainlog.4.gz
exim_paniclog
exim_paniclog.3.gz
exim_paniclog.4.gz
exim_rejectlog.3.gz
exim_rejectlog.4.gz
maillog.3
maillog.4
messages.3
messages.4
rpmpkgs.3
rpmpkgs.4
secure.3
secure.4
spooler.3
spooler.4

View 2 Replies View Related

Plesk 12.x / Linux :: Webmail Without Subdomain?

Jul 10, 2015

I'm planning on hosting some websites for customers. I am using Plesk 12. So far so good.

Now here's the problem. For some reason my host by default doesn't offer subdomains (unless I buy a more expensive package). Will this cause any problems? For example webmail.mydomain.com won't work because it uses a subdomain.

Will there be another way for customers to access their webmail?

View 3 Replies View Related

Plesk 11.x / Linux :: Cannot Add New SubDomain - No Such Option

Feb 21, 2015

After I post my desired subdomain as mysubdomain.domain.com on /mysubdomain.domain.com/

I get "Error: phpinimng failed: Usage: phpinimng [options] [php_ini_file] phpinimng: error: no such option: --global-config" on main window.

Tried to search how to fix this error, i managed to find that there is also " missing or incorrect /usr/local/sb/include/init.php ". As for this error this doesn't work [URL] .... It's already correct permission 755.

The subdomain appears only in DNS records on my domain. But not in the main plesk panel window.

OS is Debian 7.6 and Plesk 11.5, mysql runs over sock

Maybe I could create manual configuration over ssh in /var/www/vhost/ dir ..?

View 1 Replies View Related

How To Delete Backup Files

Oct 25, 2009

I have files on offsite backup from a previous server - I can login via putty ot winscp.

Putty login shows:

Quote:

FreeBSD 6.1-RELEASE-p3 (BACKUP3)

i want to delete them all - how can I do this in the most secure manner with the access I have?

View 9 Replies View Related

Safe To Delete These Files

Feb 12, 2008

I am running my VPS on direct admin panel, my disk space is going low, so i am deleting few junk / log files

Kindly let me know

1) is it safe to delete data of this directory -

/var/log/httpd/domains

The File names in above directory are such as - " domain.com.bytes "

As it is occupying 600 MB space

2) where can i delete much junk / temp files, to free up space.

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved