Re: [mezzanine-users] Promotion from test.domain.com to www.domain.com

2020-03-06 Thread James Morse
I ended up deleting the domain.com entry within that menu and relabeling 
test.domain.com to Default and eventually editing the domain line for that 
site removing "test." to make it just domain.com.  After that I added some 
rules to the Nginx conf to cover for anyone browsing via www.domain.com.  
This mixed with a couple logouts and cache clears appears to be working as 
intended. 
Thanks Danny for pointing me in the right direction!

On Friday, March 6, 2020 at 8:17:31 PM UTC-5, James Morse wrote:
>
>  I'm not familiar with that page. If I go there with an admin user, I do 
> see both domain.com and test.domain.com. Two columns : Domain and Display 
> Name. However the "display name" column is blank for test.domain.com and 
> has "Default" beside domain.com.  The drop down at the top has - and 
> can only be changed to "delete selected sites". I don't have any other 
> options than that.
>
> On Friday, March 6, 2020 at 4:51:29 PM UTC-5, Danny wrote:
>>
>> 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/fe46dca2-fbe2-4e5f-b2e8-59f86a526809%40googlegroups.com.


Re: [mezzanine-users] Promotion from test.domain.com to www.domain.com

2020-03-06 Thread James Morse
 I'm not familiar with that page. If I go there with an admin user, I do 
see both domain.com and test.domain.com. Two columns : Domain and Display 
Name. However the "display name" column is blank for test.domain.com and 
has "Default" beside domain.com.  The drop down at the top has - and 
can only be changed to "delete selected sites". I don't have any other 
options than that.

On Friday, March 6, 2020 at 4:51:29 PM UTC-5, Danny wrote:
>
> 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/6f3b26b8-be2b-4acc-ab7a-4ca59b50774f%40googlegroups.com.


Re: [mezzanine-users] Promotion from test.domain.com to www.domain.com

2020-03-06 Thread Danny

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.


[mezzanine-users] Promotion from test.domain.com to www.domain.com

2020-03-06 Thread James Morse
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!

-- 
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/b4eae36c-0e65-4cca-bb27-495a0375823c%40googlegroups.com.