I want to be able to install a Prestashop in multi-shop mode on a dedicated Plesk server, with two aliases of different domains.
The first (shop.domain1.fr) would be the host of prestahsop, but I do not see at all how to connect the second domain alias (shop.domain2.fr) to the hosting of the first.
Do you have any links or tracks i could use ?
Thank you !
You must park second domain or sub-domain in first one. It means that both of them must have same DocumentRoot. When you create a subdomain, change DocumnetRoot to shop folder.
See crate a subdomain section in this link:
https://www.pickaweb.co.uk/kb/create-addon-sub-parked-with-plesk/
Related
This seems like it should be a trivial task but isn't proving to be one for me...
How should I go about pointing multiple domain names to the same GitHub Pages hosted site?
Example:
I have created an account named test on GitHub and created a repository test.github.io
I bought test.com
I configured test.com's DNS as below
I have told GitHub Pages to enforce https and look out for custom domain test.com
My site is now live on test.com and www.test.com, woohoo!
DNS Config for test.com:
A # 185.199.108.153 (github's nameserver)
A # 185.199.109.153 (github's nameserver)
A # 185.199.110.153 (github's nameserver)
A # 185.199.111.153 (github's nameserver)
CNAME # www.test.github.io (for www redirect)
I would ALSO like example.com (and a few other domains, foo.com, bar.com and foobar.com) to redirect to test.com
How do I do this?
With an apache server, this would be easy, be GitHub Pages only supports static sites.
Any ideas?
As always, thanks for any suggestions!
The ideal place to have this redirect is your DNS provider. You can redirect foo.com, bar.com, etc. or whatever you want to test.com. Alternatively, if you happen to use Cloud Flare, forwarding can easily be setup from there too.
But if you don't want to do that and insist on using Github only, refer to this answer. What you can do in this case is create another repository (other than test.github.io) with same contents and link it to another domain such as foo.com. You can use Github Actions or something to sync your changes from main repo to the others.
Of course, the only drawback of this method is that for every domain you want to link, you'll have to create an additional github repo.
I've accepted #Prahlad Yeri's answer from above, and am just leaving this here so that other's who stumble onto this question can easily figure out how to do this... As mentioned "The ideal place to have this redirect is your DNS provider"
To do this with domains purchased from domain dot com it is VERY simple, and even INSTANTANEOUS! I can imagine with GoDaddy or other providers it will be similar.
On Domain dot com's control panel:
Log into account for the domain you wish to redirect
Go to "Pointers and Subdomains" on the left sidebar
Choose either "URL Standard" or "URL Stealth" from the pointer options, then enter the desired redirect URL in the "Directory" field
Press Save and you're good to go, immediately!
URL Stealth means that your URL will remain as what the user has typed in, and URL standard means it will display the URL of the site that you've directed to. More documentation on pointers and subdomains (for domain dot com) can be found at domain.com/help/article/domain-management-how-to-update-domain-pointers
so my issue is as follows:
I have a website, on one language pointing to a site subdomain.domain.com. I added CNAME records and it points perfectly. I now have another squarespace page that is the clone of the other one, only in a different language. Is there a way to point it to subdomain.domain.com/en , for example, and how would one go about doing this thru squarespace and my hosting sites webmin.
You can't use same subdomain for more than once. But as you own, and have access to that domain you can make different subdomain. So it can be: subdomain.domain.com and ensubdomain.domain.com or even you can have subdomain of subdomain en.subdomain.domain.com. You are probably aware where it goes. You can have something like: you.can.go.as.far.as.you.need.or.you.want.domain.com. ( be aware that you need to check with host first, what is included in your package or maybe do you have some limits)
I am working on a drupal site using Domain Module
https://www.drupal.org/project/domain
There was a test copy of the site in a sandbox. The subdomain on the live site have real domain names, but i can't work there. How do i access the front end (not the admin) of these sites on the sandbox copy of the site?
So far i have tried:
test.mysite.com/domain/view/4
test.mysite.com/domain/4
test.mysite.com/d
omain/content/4
but none of these work.
There is a module called Domain Alias part of the Domain package you are using. When enabled, you will see a tab "Aliases" when you edit each domain in your site, for example /admin/structure/domain/view/1/alias would be the path to the Alias settings of your first domain.
You need to add "test.mysite.com" as alias to your domain "www.mysite.com" with the option "Do not redirect". That will make this domain accessible under both domain names. You should add aliases to all domains you need to access under different names.
You can have many aliases for the same domain if you have multiple environments. Having multiple aliases in the production database usually does no harm, you don't need to keep them as local values in the test site.
I want to host a root domain like "example.com". The Alias addon allows you to host sub domains like "www.example.com".
But how to host the root domain "example.com" on cloudcontrol? Because I want to create a redirect from example.com to www.example.com.
I have already setup an alias from www.example.com to my cloudControl app successfully. But I was not able to setup an alias from example.com to my cloudControl app.
I'm not sure, whether I have understood everything with the Alias addon.
Best regards,
Christian
Since you can't add a CNAME to a root romain you can't link it directly to cloudControl.
The ugly way would be to manually create A-records to the (currently 3) cloudControl-loadbalancer-IPs, but cloudControl changes these (adds/removes loadbalancers) sometimes so you shouldn't do this.
For my apps I usually use the "URL"-record-type many DNS-Providers provide. In the background they use A-records to a seperate webserver that returns a redirect to the www-version.
You can also use a service like DNS Made Easy. They provide a custom type called ANAME, that's basically a CNAME without the CNAME limitations. They take care of updating the IP addresses in the background when necessary.
http://www.dnsmadeeasy.com/technology/aname-records/
I want to point a subdomain such as:
example.domain.com
to a URL like:
domain.com/something/this.php
How can I do this in Plesk?
Depending on how your scripts work, you can take one of two paths:
Add Domain, name it example.domain.com (yes, it will use one item of your domains limit), choose Redirect for Hosting Type and type target address there.
Add Subdomain and point its docroot folder to /{domain.com docroot}/something/ folder. So this.php will be accessed as example.domain.com/this.php and that.php as example.domain.com/that.php