dwrensha / wordpress-sandstorm

wordpress as a sandstorm app
Apache License 2.0
13 stars 4 forks source link

Publishing website under alternate URL #19

Open zeigerpuppy opened 8 years ago

zeigerpuppy commented 8 years ago

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 commented 8 years ago

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

zeigerpuppy commented 8 years ago

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 commented 8 years ago

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 commented 6 years ago

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