Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Publishing website under alternate URL #14

Open
xet7 opened this issue Mar 8, 2018 · 3 comments
Open

Publishing website under alternate URL #14

xet7 opened this issue Mar 8, 2018 · 3 comments

Comments

@xet7
Copy link
Member

xet7 commented Mar 8, 2018

From @zeigerpuppy on February 25, 2016 8:45

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]

Copied from original issue: dwrensha/wordpress-sandstorm#19

@xet7
Copy link
Member Author

xet7 commented Mar 8, 2018

From @dwrensha on February 25, 2016 13:30

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

@xet7
Copy link
Member Author

xet7 commented Mar 8, 2018

From @zeigerpuppy on February 25, 2016 16:21

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?

@xet7
Copy link
Member Author

xet7 commented Mar 8, 2018

From @dwrensha on February 26, 2016 3:28

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.

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

No branches or pull requests

1 participant