Community @ The Turning Gate

Support community for TTG plugins and products.

You are not logged in.

#1 2017-07-07 13:32:12

johnbrks
Member
From: Los Angeles
Registered: 2015-08-14
Posts: 137
Website

multiple sites

i have my site hosted with bluehost.  i have backlight in /public_html.
in lightroom, the publisher is set to (e.g.) www.firstsite.com/public_html/backlight/publisher

to set up another site, do i just direct the publisher in lightroom to www.secondsite.com/public_html/backlight/publisher

i'm afraid to try as i don't want to screw up my first site that is working fine.  but i want to create a second site.

my apologies if this was covered.  i searched and couldn't find it in the blog.

thanks
john

Offline

#2 2017-07-07 13:49:35

MoritzCH
Member
From: Switzerland
Registered: 2014-02-25
Posts: 106
Website

Re: multiple sites

You can create a new publishing service, choose TTG and insert the new URL smile
Did that too a few days ago

Last edited by MoritzCH (2017-07-07 13:50:17)

Offline

#3 2017-07-07 14:07:18

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,372
Website

Re: multiple sites

If you right-click the publish service in Lightroom, you'll have the option to "Create Another Publish Service via TTG Publisher..."

This will create a second and separate instance of the publisher that you can assign to govern the second website.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#4 2017-07-07 14:23:13

johnbrks
Member
From: Los Angeles
Registered: 2015-08-14
Posts: 137
Website

Re: multiple sites

thanks.  but in publisher do i set it to www.secondsite.com/public_html/backlight/publisher

if so, then how do i direct the DNS at bluehost?  right now it would point to www.firstsite.com/secondsite

Firstsite.com is the primary site. Previously I had placed other sites in subdirectories. Do I need to do that with backlight?

Last edited by johnbrks (2017-07-07 15:48:27)

Offline

#5 2017-07-07 15:58:20

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,372
Website

Re: multiple sites

Get that public_html folder out of your URL. That's first.

You'd point it at whatever URL would work in your browser. So, presumably secondsite.com/backlight/publisher.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

#6 2017-07-08 08:01:24

johnbrks
Member
From: Los Angeles
Registered: 2015-08-14
Posts: 137
Website

Re: multiple sites

(i'll just use actual URL's for simplicity)

my primary domain on bluehost is joliverbrooks.com.  i have another site i want to host called notfromyourtribe.net.

i have on instance of backlight installed in /public_html/backlight
notfromyourtribe.net is an add-on domain at bluehost with Addon Directory:    public_html/nfyt
Addon Parent:    The domain notfromyourtribe.net is aliased to nfyt.joliverbrooks.com

now,

If the publisher API URL is www.notfromyourtribe.net/backlight/publisher then i get "Error performing function. (Code: 500)."

however the publisher API URL www.firstsite.com/backlight/publisher authenticates.

what did i get wrong?

Offline

#7 2017-07-08 08:22:59

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 978
Website

Re: multiple sites

You need a second installation of backlight in /publich_html/nfyt/backlight setup for the notfromyourtribe.net domain.


Daniel Leu | Photography   
DanielLeu.com

Offline

#8 2017-07-08 09:35:41

johnbrks
Member
From: Los Angeles
Registered: 2015-08-14
Posts: 137
Website

Re: multiple sites

ok.  thanks.  i had that but then read that /public_html was the only place it should be.  this should fix the issue.

Offline

#9 2017-07-08 09:45:57

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 978
Website

Re: multiple sites

johnbrks wrote:

ok.  thanks.  i had that but then read that /public_html was the only place it should be.  this should fix the issue.

Backlight needs to be at the root of your site. In your case, /public_html is the root for the main domain and /public_html/nfyt is the root of your second domain.

Note to others: This is very Bluehost specific to have a secondary domain or a subdomain root directory located in /public_html!


Daniel Leu | Photography   
DanielLeu.com

Offline

#10 2018-05-03 03:52:12

mhayes5254
Member
Registered: 2012-11-27
Posts: 41

Re: multiple sites

I am also setting up on Bluehost and would like to clarify the above. My directory structure currently includes the following

public_html
      Backlight
      Galleries
      wp-.........
M2photojourney.com
mhayes.us

I want separate instances for the m2photojourney.com and mhayes.us sites. Should I change to the following

public_html
M2photojourney.com
      Backlight
mhayes.us
      Backlight

What about the wordpress folders?

Last edited by mhayes5254 (2018-05-03 03:52:36)

Offline

#11 2018-05-03 06:18:17

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,760
Website

Re: multiple sites

everything needs to be in the public_html folder

If you want separate sites, create sub-domains. Each of them will need a backlight installation

public_html/
              M2photojourney.com/
                                     Backlight/
              mhayes.us/
                          Backlight/

What about the WordPress folders? If you have a blog for each of those sites, then that would require a separate WP installation for each
IF you have just one Blog, it can be in a subfolder of the root

public_html/
             blog/


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

#12 2018-05-10 03:08:02

mhayes5254
Member
Registered: 2012-11-27
Posts: 41

Re: multiple sites

Still not crystal clear. Is the following correct?

Currently, with one site on Bluehost (M2Phorojourney.com), I have the following at the root of the account
/public_html
       
       backlight
       Galleries
       wp-....... i.e., all the various Wordpress folders
       etc

If I set up a second site, I leave the above in place and add the following to public_html:

/public_html
        site2.com
               backlight
               galleries
               (second set of WP folders)


I just had to delete my Bluehost account due to an error on my part. Am considering going with another provider if the folder structure would more conventional

Last edited by mhayes5254 (2018-05-10 03:09:03)

Offline

#13 2018-05-10 03:20:23

Daniel Leu
Moderator
Registered: 2012-10-11
Posts: 978
Website

Re: multiple sites

mhayes5254 wrote:

Still not crystal clear. Is the following correct?

Currently, with one site on Bluehost (M2Phorojourney.com), I have the following at the root of the account
/public_html
       
       backlight
       Galleries
       wp-....... i.e., all the various Wordpress folders
       etc

If I set up a second site, I leave the above in place and add the following to public_html:

/public_html
        site2.com
               backlight
               galleries
               (second set of WP folders)


I just had to delete my Bluehost account due to an error on my part. Am considering going with another provider if the folder structure would more conventional

Yes, that's the structure I use with Bluehost.


Daniel Leu | Photography   
DanielLeu.com

Offline

#14 2018-05-10 03:26:50

rod barbee
Moderator
From: Port Ludlow, WA USA
Registered: 2012-09-24
Posts: 14,760
Website

Re: multiple sites

Same here.
My main site is directly in the public_html folder
Then I have several other sites, like my workshops site, my ttg-tips site, various test sites, as sub-domains.
Looking at it in FTP, those subdomains show up as regular folders.


Rod 
Just a user with way too much time on his hands.
www.rodbarbee.com
ttg-tips.com, Pangolin test site, Backlight 1.1.1 test site

Offline

#15 2018-05-10 04:29:05

Matthew
Administrator
From: Seoul, South Korea
Registered: 2012-09-24
Posts: 5,372
Website

Re: multiple sites

This is essentially conventional. Subdomains will exist as a folder somewhere on your server. Depending on your host, this will sometimes be in different places, for example ...

/public_html
/subdomains
    /subdomain1
    /subdomain2

OR:

/public_html
/subdomain1
/subdomain2

OR, as in your case:

/public_html
    /subdomain1
    /subdomain2

In all of these examples, /public_html represents the main domain contents, and traveling to yourdomain.com would resolve to this location.

In all of these examples, traveling to subdomain.yourdomain.com would resolve to each subdomain's respective folder.

At the end of the day, wherever these folders lay, it makes no real difference. Some hosts just try to obscure this structure more than others.


Campagna Pictures, http://campagnapictures.com
The Turning Gate, http://theturninggate.net

Offline

Board footer

Powered by FluxBB