Questions tagged [multi-domain]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
17 views

How to route 404 errors for multi-site Craft?

Craft looks for /templates/404 by default. What do you do if you have multiple sites?
1
vote
1answer
37 views

4 Different HTML from single Craft 3 CMS on 4 different domains?

Can we serve 4 different HTML from single Craft 3 CMS on 4 different domains? working on a client project which has their 4 different domains for their different brands of the same business. Is it ...
1
vote
1answer
61 views

How should I set up redirects from http://foo.com to http://www.foo.com

When users come through the root level of the domain, ie: http://foo.com, I want them to be redirected to http://www.foo.com How should I go about doing this? Sample .htaccess-file Thanks to @...
1
vote
1answer
82 views

Setting Up Multiple Sites

I've tried following the guide for setting up multiple sites (https://docs.craftcms.com/v3/sites.html#creating-a-site) but I think i'm missing something. Firstly the craft install on your beta site, ...
2
votes
0answers
55 views

How to reference domain specific asset path in multi domain multi env setup?

I have a site setup for Craft 3 like below .env variables for development local staging production Folder structure is standard. My assest volumes are like below. '@assetBaseUrl/documents/xx' '@...
6
votes
1answer
477 views

How to setup assets in multi site where each site should have its own assets?

I have a setup with multi sites that are separate domains. site-a.com site-b.com I would also like to have assets separate for each site, like so: site-a.com/images/picture1.jpg site-b.com/...
1
vote
1answer
269 views

Multi-Site Licence

We will build two Pages with two different domains. We want to use the multi-site feature of Craft 3 so we only need one backend. I see on YouTube a Video from Mijingo - "Multi-Site in Craft 3" and ...
2
votes
1answer
476 views

Craft 3 multi-lingual multi-sites setup with shared assets

I have 2 almost identical websites. Both have almost the same layout but different colors (so different CSS file). They share most of the same templates and assets (images, css, js, videos, etc.). ...
2
votes
1answer
451 views

Structuring site with multiple subsites

I have to make a website that has a single craft installation and one database. Now the site is for a company that owns several garages which should have their own subsite on a subdomain. It should ...
2
votes
2answers
353 views

Multi domains in Craft 2 licensing

I've setup multi domains with a single Craft 2 core folder using the Path Constants methods in the docs. It's seems like a nice setup as I only have to update the core Craft files once when there's an ...
1
vote
1answer
222 views

Two domains - single install - Live Preview works only on one

I have a multi-site setup on two different domains (actually subdomains) with a single Craft install. I have modified config/general.php file to make it work on both the subdomains. Each domain has ...
1
vote
1answer
171 views

Running Craft from two subdirectories

We are trying to add Craft alongside another CMS. I currently have Craft setup with the Craft app directory above web root and then two web accessible sub-directories as follows: blog offer Each ...
3
votes
1answer
450 views

Multi sites: should I use Craft 2 locales, or go with Craft 3 alpha?

I have a couple of imminent projects that will need some type of multi-site support. One is a large project that will need to share data between at least 3 sites. Where data is entered in one site and ...
2
votes
1answer
230 views

Multi site licences

If you are running multiple domains on one craft install as suggested here https://craftcms.com/support/sharing-craft-files What are the pro licence implications?
3
votes
3answers
566 views

Possible to share assets, templates and plugins across two domains but not all content?

I've seen many similar questions (Multiple databases, single codebase) but now a little confused on the best approach. This is our first Craft CMS site so still learning the possibilities. We have ...
2
votes
1answer
333 views

Live Preview in different languages on different top level domains

Our website offers three different languages. Each language has it own top level domain (example: domain.de, domain.it, domain.fr). Everything works like it should, except the Live Preview function. ...
1
vote
0answers
167 views

One database … spinning off multiple domains?

Let's say I am selling products, with each vertical having their own domain, and one central portal that sells all the products. Is this possible with one installation of Craft? Only one admin panel ...
1
vote
2answers
390 views

Re-using path segments for an additional domain?

I have a Craft installation with two domains pointing at it. The first domain is all working and has a number of sections including a blog located at /blog. What I want to be able to do is have a ...
1
vote
1answer
686 views

Assets, Multi Locale and 'Target Locale'

I've created all my Assets fields with 'Same as Source' selected in 'Target Locale'. When I create an entry in language A, all field content is copied over apart from the assets selections into ...
0
votes
2answers
414 views

Two domains with two different templates

I'm trying to build a website for a client that has actually two websites for different locations and we need to merge both of them in a new one. The only thing is that he wants to keep the domains ...
1
vote
0answers
40 views

Wrong siteUrl chosen in multi-environment config [duplicate]

I have following setup for my site urls (after other testing domains): return [ '*' => [ 'omitScriptNameInUrls' => true, 'usePathInfo' => true, '...
1
vote
1answer
468 views

Locales and assets

Is there a way to specify locale-specific asset paths so that uploaded images are only viewable on a per-locale basis, or would I have to set distinct assets (and ergo distinct fields) for each locale ...
3
votes
2answers
2k views

Multi-Site | Multi-Domain?

I have the following problem: I would like to have one craft backend / one installation for different one pager sites on different domains. The reason is, that we have one HTML template we would like ...
0
votes
1answer
213 views

Multi-domain routing not working

I've followed this answer for running a Craft install based on two domain names. I thought it was working but either I was wrong, or something's changed, because it's not now. I have a.com (where the ...
5
votes
1answer
1k views

Site set up with mutiple sub domains

I will build a group site in craft which will have the main domain and multiple sub domains. e.g. domain.com property.domain.com connect.domain.com The news feed on each sub domain will be different ...
4
votes
1answer
186 views

Can you run Craft CP on one webserver and serve the front end content on a separate one?

Much of my work is for a corporate organisation, and there is some resistance to having the CP of a CMS externally exposed. Is it possible to run the Craft CP on one internal (not available outside ...
2
votes
1answer
752 views

Using an IP address in config/db.php

I'm trying to set up multi-environment configs. I have specific db settings I want to change depending on environment. I am using localhost and my Digital Ocean server IP address in my db.php file. &...
3
votes
1answer
861 views

Multi-Domain routing

We are launching 2 different sites, using the same craft installation on multiple domains. a.com and b.com a.com points to the main craft install b.com should point to a subpage/single in this same ...
5
votes
2answers
493 views

Licensing a multi-lingual site using different domains

I'm building a site for a multinational company. I have domains set up like this example: acme.com (main portal site, different from local sites, but also aggregating content from all local sites) ...
2
votes
1answer
272 views

Minimum database privileges for Craft front-end?

I'm wondering if it's possible to reduce the database user privileges required by Craft, to run just the front-end of the site. Currently, the requirements docs indicate that the MySQL user must have ...
4
votes
1answer
1k views

Localization - How do we manage multilingual, multi-environment on multiple domains?

I read this KB article about localization though, the examples are for sub-folders. I'm wondering how to handle the same concept but, for different language based domains e.g. example.com example.mx ...