Custom Domain
For example, let's say you have two domains: domain1.com and domain2.com. You want to redirect domain1.com to domain2.com. Here are the steps to do that:
Log in to the DNS settings of domain1.com.
Create a new CNAME record by clicking on the "Add Record" or "Add CNAME" button.
In the CNAME record form, enter "@" or "domain1.com" in the "Name" or "Alias" field.
In the "Value" or "Points to" field, enter "domain2.com".
Save the changes to your DNS settings.
This will create a CNAME record that redirects domain1.com to domain2.com. When someone types in domain1.com, the DNS server will look up the CNAME record and redirect the request to domain2.com.
Note that this process can take up to 24-48 hours to propagate globally, so it may take some time for the changes to take effect.
You want to add a custom domain for your restaurant like qrexorder.com/phplime
Try to understand this.
For custom domains, First, you have to do the server configuration. like you have a domain name qrexorder.com in your server, you have another domain named phplime.com. so, you will not purchase another server/hosting for the new domain right? you will add the domain to your existing domain.
If you know how to add a new domain to your existing server? then add a new domain like this. Otherwise, contact your server provider to add a new domain to your server.
After adding the new domain to your server, if you hit the new domain then it will redirect to your main domain (qrexorder.com) then, I think it is working. After that send a request from the restaurant to admin from Qrexorder.
About subdomain: You can't use other domain subdomains like you installed this script in qrexorder.com then you can use anyname.qrexorder.com but you can't use anyname.phplime.com.
Still you are not understanding this, please google it or contact to your server provider.
It can vary as per server if you don't find then please contact your server provider
Last updated