Add custom domain to specific URL of main domain - apache

I have a multivendor eCommerce site. for example, mainsite.com. where vendor shop URL is mainsite.com/s/shopname. I want to give vendors to add a custom domain pointing to their shop. How can I create this type of functionality on my site?
This feature is similar to adding a custom domain to sites (Google sites, Heroku, Wix, Github, etc..)

Related

Branch.io links not tracking clicks after custom subdomain setup

BACKGROUND
I have an app that was set up using a default branch domain (ex: my.app.link).
Links were created using my.app.link. Many of these links needed to mirror existing links I have in production (with another linking service that we are migrating off of) that use a format not supported in Branch.io, so I had to work around the issue by using a '-' in place of '.' in the link's path. This is a solution recommended by Branch with the assurance that the '.' would be translated to a '-' on the backend at Branch.io (this appears to work fine).
I recently had a custom subdomain CNAMEd over to custom.bnc.lt (ex: myapp.mydomain.com).
The link settings in the Branch.io dashboard have been updated to use the custom subdomain (change is valid: "Domain is correctly set up and SSL is working.").
ISSUES
All pre-existing quick links still have the old default domain, no clicks register even though they 'work' with the new subdomain.
Duplicating one of these links picks up the new subdomain, but the url that gets created is http, not https (which is the default for any other link we created and there doesn't seem to be a way to choose one protocol or the other, nor can it be updated in the dashboard). This also seems to be causing link clicks to not track in the dashboard.
The fact that we mirrored links from another platform using a workaround (replacing '.' for a '-'), also seems to cause link clicks to not track in the dashboard.
QUESTIONS
How does Branch.io handle link clicks for a quick link that has been set up for an app using a custom subdomain? Does the configured link need to match 1:1 to the link that is clicked on the device?
How can I fix the original links, especially if I can't duplicate them (to pick up the custom subdomain) in a way that gives me a 1:1 match to the previous link I created (since the new link is http and the others are https, as would be distributed in a live/production environment)?
Why isn't Branch tracking link clicks for the x.y.z links that I set up as x-y-z? This aliasing works fine, and seemed to be tracking clicks fine in test.
Amruta from Branch.io here:
1. How does Branch.io handle link clicks for a quick link that has been set up for an app using a custom subdomain?
A: For all Branch links, every time a Branch link is clicked the click is is registered by Branch. Using a custom domain (if configured properly) should not cause any problems in registering clicks on the Branch dashboard neither should using Quick links cause any issues. Also Branch links with either schemes http:// or https:// register link clicks. Having Branch links with http:// scheme should not cause any issues with registering link clicks
2.All pre-existing quick links still have the old default domain
A: The old links created on the app.link will not be updated with your custom domain. If you wish to use links with your link domain, you can create new links with the same link parameters. (PS: both links on the old app.link domain and links on your custom domain should work as before if you still have your App configured to support the app.link domain links.)
3. Duplicating one of these links picks up the new subdomain, but the url that gets created is http, not https
A: At present, the Branch API creates Branch links for custom domains with the 'http://'scheme. This is because we are not sure if custom domains have the SSL certificate and creating links with the https:// scheme would break for such domains. Hence by default, all custom domain links are created using the http:// scheme. There is no direct way to create links using the https:// scheme using the Branch API, the only way you can do it is by manually changing the scheme from 'http' to 'https://'.
4. Why isn't Branch tracking link clicks for the x.y.z links that I set up as x-y-z? This aliasing works fine, and seemed to be tracking clicks fine in test.
I believe, the issue here has nothing to do with your custom domain but is maybe related to a key mismatch. You mention that the link clicks were tracked in the test version of the App, which leads me to believe that your app is still using the Branch key from the test version (key format: key_test_XXXXXXXXXXXXXXX). Please ensure that your App is using the correct key. The simple test for this: When you click on the Branch link, you get the link parameters in your app and the link parameters contain +clicked_branch_link:true. If so, the link click will be tracked on Branch's end.
If you still continue to face issues, you could write to integrations#branch.io and our team would be more than happy to help you resolve the issue.

How we can link my own design website to whmcs

I am planning to start website hosting company as a reseller.I have big trouble about designing of my website for web hosting.I want my clients choose plans, register domain and create own cpanel account by registering on my own design sign up form.I searched almost every where but not find good tutorial about this topic.I have reseller account with cpanel/whm and WHMCS.I just want my clients choose packages and registered through my website instead of WHMCS design.
You need to add your product in WHMCS with the cart URL and then assign that cart URL on your site so that when your client select plan, WHMCS will create account under your reseller account with that plan details.
You can add your product in your WHMCS URL with http://docs.whmcs.com/Products_and_Services URL help.

How do you integrate Shopify ONLY for checkout and payment?

I'm currently building a client site in Craft CMS and they'd like to be able to sell items through the website. It's been suggested that we 'integrate' shopify with the site for selling, so I've set up a trial store.
The problem is that when I set up a custom domain for my Shopify store (changing the CNAME record with the site host), visiting the domain shows me the root of the shopify store, and not the website I'm currently developing. Shopify keep saying it 'integrates' with existing websites but how do you achieve this?
Goal: To use a website designed, built and managed inside Craft CMS, then use Shopify ONLY for the Cart & checkout process. The domain should always be the custom domain and not the mydomain.shopify.com one.
Am I missing something simple, or is it mis-advertised?
You will still want to host your Craft site on your main domain, and then setup a subdomain to point to the Shopify site. Then handle all the product display on your Craft site, and use this plugin to link up the Shopify products to the Craft products. Finally, all you have to do is add the add to cart forms, and then let Shopify handle the cart and checkout process.
To integrate Shopify's checkout and payment processing into an existing website, you can follow these steps:
Create a Shopify store if you don't already have one.
Navigate to the "Checkout" section in the Shopify admin and select "Checkout settings."
Enable the "Customer billing and shipping information" option to allow customers to enter their billing and shipping information during checkout.
Select "Shopify Payments" or another payment gateway as the payment method.
Generate a checkout API key from the "Checkout" section of the Shopify admin.
Integrate the Shopify checkout into your website using the API key and the Shopify Checkout API.
Add the necessary product and checkout buttons to your website, and ensure that the correct product and pricing information is passed to the Shopify checkout.
Test the integration thoroughly to ensure it is working correctly.

How do I Force User friendly URLs In sharepoint for a My Site Collection

Disregarding my question I asked earlier (and deleted) which has been solved, I want to know, how do I force sharepoint to generate user-friendly my site collection URLs?
To make the question easier, I'll include an example.
http://spaces.companyspttest.biz/Person.aspx?accountname=ADtest\Eon
must become
http://spaces.companyspttest.biz/Eon
How do I do this?
Ok, seems like what I have been looking for is a Self-Service Site Creation.
To activate it , go to Web applications management in Central Administration in Sharepoint, ,Select the web application which requires this "Shortened URL",Click Self Service Site Creation in the ribbon, and turn it on.
After that, add a Managed path to the web application called Profiles.
Not 10000% what I wanted regarding the URL, but definitely the page I wanted to see when I type the URL.

Publishing to facebook from different websites using one APP ID

I'm building a custom CMS for my clients and i've implemented the Facebook API for posting on Page Walls as admin. All works well but I do have one question. Let's say the FB app name is 'CMS FB APP'.
The CMS will reside on my clients' servers, is it possible to use 'CMS FB APP' for all of my clients? Or do I have to create an application for each CMS that I install on every different server?
In the app settings I have to set a Site URL and Site Domain but this is for each client different, I don't seem to find a solution for this problem.
If you are using authentication, you have to create a separate app for each url where your app will be hosted. You will receive an error when the user tries to log in with facebook. Facebook requires that your 'next' and 'cancel' urls in the authentication return urls be on the same domain as your app's Site Url. One solution would be to setup an app with a base url such as example.com and have each client on their own subdomain like client1.example.com, client2.example.com, etc. Short of that, you are stuck making separate apps.
It worked for me when using App domains options in facebook app settings.You can enter multiple domains as App domains
The redirect_uri you use in your code must have the same base domain as that specified in the App Domains.