Web Design Web Design Forum
Registration is free! Here you can view your subscribed threads, work with private messages and edit your profile and preferences Calendar Find other members Frequently Asked Questions Search
Home Web Design

Convenient web based access to our favorite web design Usenet groups

web design reviews

This is Interesting: Free Magazines for Graphics designers and webmasters  





Pages (2): [1] 2 »   Last Thread  Next Thread
Author
Thread Post New Thread   

Shared content - 2 domains
 

david.hunter@gmail.com




quote this post edit post

IP Loged report this post

Old Post  10-25-05 - 11:45 PM  
Hi group -

I have a client who wants to share content between two separate domain
names.

The problem I am having is that not *all* of the content will be shared
- and different skins will need to be applied as well.

He wants to be able to write content in a CMS such as Mambo, and decide
to choose to publish to both domains or one domain.

Is this clear ? Is there any one out there that can point me in the
right direction ?

Obvioulsy both domains would be hosting at the same server - I usually
use page-zone.com for my domain hosting.

Thanks!



Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

Richard Grove




quote this post edit post

IP Loged report this post

Old Post  10-26-05 - 11:28 AM  
david.hunter@XXXXXXXXXX wrote:
> Hi group -
>
> I have a client who wants to share content between two separate domain
> names.
>
> The problem I am having is that not *all* of the content will be shared
> - and different skins will need to be applied as well.
>
> He wants to be able to write content in a CMS such as Mambo, and decide
> to choose to publish to both domains or one domain.
>
> Is this clear ? Is there any one out there that can point me in the
> right direction ?
>
> Obvioulsy both domains would be hosting at the same server - I usually
> use page-zone.com for my domain hosting.
>
> Thanks!
>

If both domains are hosted on tyhe same server, you may be able to
access a common database from the 2 different domains.
If this is the case, package up the sites to suit and access / display
the the common data.

Richard Grove
www.redeyemedia.co.uk
www.shopmaker.co.uk


Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

William Tasso




quote this post edit post

IP Loged report this post

Old Post  10-27-05 - 12:02 AM  
Writing in news:alt.www.webmaster,alt.html
From the safety of the  cafeteria
Richard Grove <nospamplease@redeyemedia.co.uk> said:

> david.hunter@XXXXXXXXXX wrote:
 
>
> If both domains are hosted on tyhe same server, you may be able to
> access a common database from the 2 different domains.

yes - that would be my prefered solution too.  That may (or may not) be
doable on a shared hosting platform.  A trip to tech support should
provide the answer.

--
William Tasso

virtue is its own punishment


Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

Heidi




quote this post edit post

IP Loged report this post

Old Post  10-27-05 - 12:02 AM  
Richard Grove wrote:
: If both domains are hosted on tyhe same server, you may be able to
: access a common database from the 2 different domains.
: If this is the case, package up the sites to suit and access / display
: the the common data.

Interesting. I never thought of this before.
How would someone do that though?




Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

William Tasso




quote this post edit post

IP Loged report this post

Old Post  10-27-05 - 12:02 AM  
Writing in news:alt.www.webmaster,alt.html
From the safety of the Road Runner High Speed Online http://www.rr.com
cafeteria
Heidi <blackcat2@XXXXXXXXXX> said:

> Richard Grove wrote:
> : If both domains are hosted on tyhe same server, you may be able to
> : access a common database from the 2 different domains.
> : If this is the case, package up the sites to suit and access / display
> : the the common data.
>
> Interesting. I never thought of this before.
> How would someone do that though?

Which bit is puzzling?

You would need to use the same data store and therefore the same
credentials (if applicable).

As I said before, this may (oe may not) be possible on a shared hosting
account - best check with tech support.

--
William Tasso

virtue is its own punishment


Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

Jim




quote this post edit post

IP Loged report this post

Old Post  10-27-05 - 03:23 AM  
"William Tasso" <SpamBlocked@tbdata.com> wrote in message
news:op.sy9ynq1pm9g4qz-wnt@tbdata.com...
> Writing in news:alt.www.webmaster,alt.html
> From the safety of the Road Runner High Speed Online http://www.rr.com
> cafeteria
> Heidi <blackcat2@XXXXXXXXXX> said:
> 
>
> Which bit is puzzling?
>
> You would need to use the same data store and therefore the same
> credentials (if applicable).
>
> As I said before, this may (oe may not) be possible on a shared hosting
> account - best check with tech support.

Its possible on ours. I've been answering that question from customers for
years. It's even possible if the sites are on different servers, but that
requires the database host server to allow access to the remote host. Easily
done through cpanel or call your host. As long as the script is set up with
the host (localhost or IP) named in the config file and the database user,
and password is what is needed to get access to the database.




Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

Heidi




quote this post edit post

IP Loged report this post

Old Post  10-28-05 - 03:19 AM  
William Tasso wrote:
: Which bit is puzzling?
:
: You would need to use the same data store and therefore the same
: credentials (if applicable).

well maybe I have been out of the loop a bit long dealing with other
issues...
I just fail to see how domain1 has the database and domain2 accesses it.

I am tired and I need a vacation =)

Heidi




Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

William Tasso




quote this post edit post

IP Loged report this post

Old Post  10-28-05 - 03:19 AM  
Writing in news:alt.www.webmaster,alt.html
From the safety of the Road Runner High Speed Online http://www.rr.com
cafeteria
Heidi <blackcat2@XXXXXXXXXX> said:

> William Tasso wrote:
> : Which bit is puzzling?
> :
> : You would need to use the same data store and therefore the same
> : credentials (if applicable).
>
> well maybe I have been out of the loop a bit long dealing with other
> issues...
> I just fail to see how domain1 has the database and domain2 accesses it.

well, think about what you need to access a db engine.  set up a db from
each of two domains

the only info that differs will be in the connection
string/routine/function/whatever

o db-name
o db-user
o db-password

simply substitute the values from one domain into the connection thingie
on the other.

> I am tired and I need a vacation =)

oooh - a sleepy Heidi, those eyes - I'm drowning in thos..........

--
William Tasso

virtue is its own punishment


Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

trevor




quote this post edit post

IP Loged report this post

Old Post  10-28-05 - 08:22 AM  
> Its possible on ours. I've been answering that question from customers
> for years. It's even possible if the sites are on different servers,
> but that requires the database host server to allow access to the
> remote host. Easily done through cpanel or call your host. As long as
> the script is set up with the host (localhost or IP) named in the
> config file and the database user, and password is what is needed to
> get access to the database.

agreed. on the microsoft side it's just using one ODBC DSN as opposed to
another. problems may occur at the firewall level which the host would be
able to permit. a more effective technique would be simple mirroring of a
database at one ISP onto the other. as long as it's just content and not
transactional data, this is easy. if you have transactions distributed
across servers you need a clustering solution.



Post Follow-Up to this message ]
Re: Shared content - 2 domains
 

Heidi




quote this post edit post

IP Loged report this post

Old Post  10-29-05 - 08:28 AM  
William Tasso wrote:
: well, think about what you need to access a db engine.  set up a db
: from each of two domains

Cool I did it and it worked. that was interesting. It didn't work out quite
like I wanted so here is the new question.
Is there a way to pull only a specific bit of content from one database on
one domain to a site on another domain but
same server?

: oooh - a sleepy Heidi, those eyes - I'm drowning in thos..........

*blush*





Post Follow-Up to this message ]
Sponsored Links
 





All times are GMT. The time now is 04:58 AM. Post New Thread   
Pages (2): [1] 2 »   Previous Last Thread   Next Thread next
Webmaster forum archive | Show Printable Version | Email this Page | Subscribe to this Thread

Popular forums

Adobe Photoshop forum Macromedia Flash Web Site Design
Dreamweaver FrontPage forum
JavaScript Forum XML forum
Style Sheets VRML
Forum Jump:
Rate This Thread:

 

XML RSS Feed web design latest articles Syndicate our forum via XML or simple JavaScript

Web Design archive  Database administration help  


Top Home  -  Register  -  Control Panel   -  Memberlist  -  Calendar  -  Faq  -  Search Top