IMPORTANT: When you expose files and folders on your computer to the internet (even with password protection), you assume some risk. Make sure you understand this risk before setting up an OmniPresence server, and be sure to keep your Mac up to date with the latest security patches. If you’d prefer not to host your own server, you can sign up for the Omni Sync Server OmniPresence test or check out this list of other hosts.
If you have a Mac that’s awake and connected to the internet 24 hours a day, it’s easy to use OS X Server to create a shared folder which OmniPresence can use to sync your documents. Here’s how:
Creating a Share Point
After installing the Server application and configuring it to manage your Mac, choose File Sharing from the sidebar. Click the master switch in the top right to start the File Sharing service, and then click the + button below the Share Points list to add a new share point.
In the window that opens, choose a safe location for your OmniPresence data, and create a New Folder named DAV. Select the folder and click Choose to start sharing it.
When your folder has been created, it should be visible in the list of Share Points. Double-click to edit it, and give Read & Write permissions to all the accounts which will be accessing the share. Under Settings, check the box next to Share with iOS devices (OmniPresence uses WebDAV to communicate with the server) and uncheck the other boxes.
Testing Using the Finder
To double-check that your share point is ready to use, connect to it using the Finder. Choose Go to Folder… from the Go menu and type in the following Server Address:
…where computer name is the sharing name of your Mac (example: server.local).
You’ll be prompted to trust the server’s self-signed certificate; if a Finder window then opens showing the empty DAV folder then you’re ready to connect from outside of your network.
Accessing your OmniPresence server
You’ll need to forward https:// traffic (port 443) from your router to your server. If you have an Apple Airport Express or Airport Extreme, that’s easy to do using Airport Utility. If you have a non-Apple router, consult the manufacturer’s documentation.
If your ISP provides you with a static IP address, once you’ve set up port forwarding you should be able to point OmniPresence at https://<external IP address>/DAV/
If you don’t have a static IP, DynDNS.org provides domains whose DNS records are automatically updated when your IP address changes.
“Where are my files?”
OmniPresence stores your sync data in a hidden folder, which means that if you look at your share in the Finder (either on the server itself or by connecting from another Mac), you won’t see the documents being synced. To access the documents in the share from the server, install OmniPresence for Mac and point it at https://localhost/DAV or similar.