Skip to content
This repository has been archived by the owner on Dec 28, 2023. It is now read-only.

Publishing website under alternate URL #19

Open
zeigerpuppy opened this issue Feb 25, 2016 · 4 comments
Open

Publishing website under alternate URL #19

zeigerpuppy opened this issue Feb 25, 2016 · 4 comments

Comments

@zeigerpuppy
Copy link

I am trying to setup sandstorm wordpress for external access
Is there a mechanism similar to the Ghost app, where CNAME and TXT records can be mapped to the URL?
I tried using something like the following (names and numbers changed to protect the innocent!)
I am using djbdns and similar code worked fine for Ghost

# CNAME
Cwpblogss.fqdn.net:1729626999a6a7d8918a13199dss.fqdn.net
# TXT record
'sandstorm-www.wpblogss.fqdn.net:1729626999a6a7d8918a13199

However, I get an error on browsing there
No such grain for public ID: 1729626999a6a7d8918a13199 [404]

@dwrensha
Copy link
Owner

There should be a "Sandstorm Publishing Information" panel on the admin dashboard. Do the instructions there work for you?

@zeigerpuppy
Copy link
Author

Thanks, my mistake, I was using the URL from the >>Settings>>General>>Site Address,

talk about missing the obvious!
out of interest, why are the published URL and the one in the Site address different?

@dwrensha
Copy link
Owner

I assume you're referring to the "Site Address (URL)" row on the Settings -> General page? That ends up being based on the transient hostname that Sandstorm has given your current session. It needs to be set this way so that WordPress can properly generate internal links as it generates dynamic content. The published URL is static.

@xet7
Copy link

xet7 commented Mar 8, 2018

This issue was moved to sandstormports/wordpress-sandstorm#14

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants