# Publishing To Sub-Domain - Missing Files

**URL:** <https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026>\
**Category:** Elements\
**Created:** [July 21, 2025, 10:05am UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026 "2025-07-21T10:05:40Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [July 21, 2025, 10:05am UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/1 "2025-07-21T10:05:40Z")

</div>

I am testing a sub-domain on my local ServBay setup.

Accepting I could be doing something wrong, I have the following issue.

I have added a folder ‘subdomain’ to the root of my website ([website.com](http://website.com)). I have configured a new web server at [new.website.com](http://new.website.com) and set the root folder to be the folder ‘subdomain’.

I have configured a new publishing destination in Elements using the above details.

I have then done a publish all to the new destination.

On the first attempt, while the publishing was in progress, I got a kernel panic attack and my Mac mini rebooted! 😮

It hasn’t happened since.

However not all the files in the **rw** folder in the subdomain are being published?

This is the structure of the **rw** folder at the main website root level:

 ![CleanShot 2025-07-21 at 10.49.23](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/f/7/f714a1be20bf829c76fd5a35e848cddcf14611fa.png)

This is the structure of the **rw** folder at the main subdomain level:

 ![CleanShot 2025-07-21 at 10.48.34](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/3/0/30e9e114f5881cb002c13c2281bd35faa49028dc.png)

The folders **com.logrunner.blog** and **com.realmac.apipack** are missing?

I was doing a Publish All as even with the new publishing (1.0.8) system, if you make changes to code in the shared area, it doesn’t appear to publish the changed shared code?

I am attempting to test this out prior to do doing it for real on my production site.

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [July 21, 2025, 12:21pm UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/2 "2025-07-21T12:21:43Z")

</div>

Sorry you’re having issues… have you tried re-starting Elements and choose "Re-Publish All files again?

What happens if you create a new project and upload it to that destination, does it publish okay?

 ![CleanShot 2025-07-21 at 1 .19.00@2x](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/1/c/1c92fe101a6a6c70b300c149e71ac3e8dd23d577.jpeg)

btw. We are working on another update to Elements with better publican diagnostics as we’re determined to ensure we can solve ALL publishing issues FAST! Stay tuned for that.

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [July 21, 2025, 12:59pm UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/3 "2025-07-21T12:59:07Z")

</div>

OK, so I backed up my ‘published to’ folder.  
I then deleted everything in the ‘published to’ folder (main-domain and sub-domain).  
I quit and restarted Elements.  
I then did a Publish All for the main-domain..

Looking at the results, I can see that the issue now also manifests itself in the main-domain. Everything was published (AFAICS) except the two folders as previously noted: **com.logrunner.blog** and **com.realmac.apipack** which are missing and haven’t been published?

The website doesn’t work without these folders. Obviously, for the moment, I can recover them from the backup, so it isn’t a show-stopper, just a small inconvenience.

So, I don’t think the issue is related to the sub-domain and I only noticed it because the sub-domain was a new setup.

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [July 21, 2025, 3:25pm UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/4 "2025-07-21T15:25:12Z")

</div>

> [@logrunner](#):
>
> **com.logrunner.blog** and **com.realmac.apipack** which are missing and haven’t been published?

The API pack has now been merged into the Core pack, so that’s fine. Your blog pack should only be deployed if it’s being used in the project. Can you confirm that it’s in use and should contain files?

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [July 21, 2025, 3:57pm UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/5 "2025-07-21T15:57:00Z")

</div>

> [@tpbradley](#):
>
> Can you confirm that it’s in use and should contain files?

Yes and yes 🙂

This is the folder that was previously backed up:

 ![CleanShot 2025-07-21 at 16.48.31](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/c/f/cfe86cfbfb79d24dfa51f244e5d319a33bfe372f.png)

The above should be created from the shared assets in a utilised DevPack:

 ![CleanShot 2025-07-21 at 16.52.19](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/7/07ae6a7b2ff3e9677c4fd7e2112ea84fa0682575.png)

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [July 22, 2025, 10:37am UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/6 "2025-07-22T10:37:26Z")

</div>

Thanks @logrunner, I’ve identified the problem and working on a fix! 👍

---

<div class="post-metadata">

**Author:** ![logrunner](https://avatars.discourse-cdn.com/v4/letter/l/59ef9b/32.png) [@logrunner](https://forums.realmacsoftware.com/u/logrunner)\
**Post date:** [July 23, 2025, 2:08pm UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/7 "2025-07-23T14:08:10Z")

</div>

That’s working now in 1.0.9 - Thanks. 😃

---

<div class="post-metadata">

**Author:** ![tpbradley](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/tpbradley/32/25503_2.png) [@tpbradley](https://forums.realmacsoftware.com/u/tpbradley)\
**Post date:** [July 23, 2025, 2:10pm UTC](https://forums.realmacsoftware.com/t/publishing-to-sub-domain-missing-files/49026/8 "2025-07-23T14:10:54Z")

</div>

Awesome! I was just about to ask you to try it out but you beat me to it lol
