On 7/03/2020 2:14 am, James Morse wrote:
Greetings all,
I set up my first Mezzanine site for my wife to work on as
test.domain.com with the intent of that being temporary. This was so
her old static HTML "production" site wasn't affected until she was
done. Last night she finally finished the site and asked me to
"launch it". I pointed her @ record and www.domain.com to the new
server IP hosting the Mezzanine setup and after fixing the cert, I was
surprised to see the base template site/theme without any of the
content she worked on. After searching similar but not identical
scenarios, I now see that Mezzanine instantiates itself for each
subdomain. Is there some way to point all her subdomains to the
content she's already worked so hard on? If not, then is there
perhaps a way to migrate the test.domain.com site content to the @ or
www. subdomain "new" site? I've seen the responses that reference
using Nginx or similar to redirect all to x.domain.com but in this
case I, of course, don't want her customers being redirected to
"test.domain.com", so I need a different solution.
Thanks for your time and any help you can provide!
Have you logged into the admin, and updated the default 'Site' to the
'www.domain.com'? Mezzanine associates each page with a 'Site' so you
can serve multiple subdomains with the same database and django instance
- and the URL is used for this when not in test mode.
(Basically, go to www.domain.com/admin/sites/site/ and make sure that's
correct - if not, edit it)
Does that help?
I have done this before to change a test.domain.com to a
live.domain.com, and it seemed to work ok. The other option you can try
is to just set it to domain.com.
There might be someone else with more Mezzanine knowledge than me who
can help, but I think this the best place to start checking, especially
if the test domain is still working.
Seeya. Danny.
--
You received this message because you are subscribed to the Google Groups "Mezzanine
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to mezzanine-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/mezzanine-users/f81ff661-c016-4bc7-1ba7-d2fa45bcd742%40gmail.com.