# how to remove sub domain folder after deleting it

**URL:** <https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111>\
**Category:** Informal\
**Created:** [September 23, 2018, 12:52pm UTC](https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111 "2018-09-23T12:52:23Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Snakone](https://forum.infinityfree.com/letter_avatar/snakone/32/6_22734026db12803ebb3e059622ac3534.png) [@Snakone](https://forum.infinityfree.com/u/Snakone)\
**Post date:** [September 23, 2018, 12:52pm UTC](https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111/1 "2018-09-23T12:52:23Z")

</div>

so i had a sub domain i dont use anymore, once i deleted it, the folder still there when i connect via FTP, is there any way to delete such a folder? ofc i dont have permision to do so

---

<div class="post-metadata">

**Author:** ![Admin](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/admin/32/36437_2.png) [@Admin](https://forum.infinityfree.com/u/Admin)\
**Post date:** [September 23, 2018, 2:49pm UTC](https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111/2 "2018-09-23T14:49:18Z")

</div>

That depends on how recent the subdomain was added. If it’s this year, you should be able to delete it like you delete any other folder. If it was created before, there is sadly no way to delete it.

---

<div class="post-metadata">

**Author:** ![Snakone](https://forum.infinityfree.com/letter_avatar/snakone/32/6_22734026db12803ebb3e059622ac3534.png) [@Snakone](https://forum.infinityfree.com/u/Snakone)\
**Post date:** [September 29, 2018, 12:40pm UTC](https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111/3 "2018-09-29T12:40:49Z")

</div>

I tried but have no permission to delete on the root directory, i made the sub domain this year.

550 Can’t remove directory: Permission denied

---

<div class="post-metadata">

**Author:** ![ChrisPAR](https://forum.infinityfree.com/user_avatar/forum.infinityfree.com/chrispar/32/8743_2.png) [@ChrisPAR](https://forum.infinityfree.com/u/ChrisPAR)\
**Post date:** [September 29, 2018, 12:42pm UTC](https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111/4 "2018-09-29T12:42:55Z")

</div>

> @Snakone said:  
> I tried but have no permission to delete on the root directory, i made the sub domain this year

@Snakone

The ability to do that was added two months ago I believe (it may be 3, in that case correct me), so if you had created it earlier then it will not work.

---

<div class="post-metadata">

**Author:** ![system](https://infinityfree-forum-uploads.s3.dualstack.eu-central-1.amazonaws.com/original/3X/b/0/b024fd3fa88bae093c9576e55c2c94e33f890206.svg) [@system](https://forum.infinityfree.com/u/system)\
**Post date:** [January 17, 2019, 7:33pm UTC](https://forum.infinityfree.com/t/how-to-remove-sub-domain-folder-after-deleting-it/10111/5 "2019-01-17T19:33:19Z")

</div>

Closed on January 17, 2019, 7:33pm UTC


