My client has bought two domains for his website: goiasverdade.com.br and goiasverdade.com
The main domain is goiasverdade.com.br, but he wants to redirect the visitors who enter the .com domain to the .com.br.
The .com.br domain is already registered in the Hostgator server. But now I don't know how to add another domain to the server and also redirect it to the main .com.br address. I have the DNS address for the .com domain, but where do I add it in the server Control Panel?.
Thanks for the help guys!
I think you'd want to add the extra domain name as an add on domain. Then I think you'd want to redirect the domain so that it redirects (forwards) to the other one.
Then you'll of course want to test everything to make sure everything works. If you're a developer, you may want to look at Digital Ocean or Linode hosting if you want to have more control over your servers.
Related
I want to create a website where I want a normal web address for site visitors i.e. www.sitename.com and the administrator of the website should have a web address like www.administrator.sitename.com. How do I achieve this? Just to clear things out, site visitors do not have the feature to create their own accounts on the website. There is only one user that exists i.e. Administrator.
Any other suggestions for implementing this system are also appreciated. This system will be implemented using the MERN stack so, please provide references accordingly.
This has nothing to do with MERN Stack. You basically need to do two things:
Create a subdomain. This can be done by visiting your domain registrar (like goDaddy or any website from which you've purchased your domain).
Host the admin panel on the subdomain.
So, let's say you have purchased example.com from GoDaddy. Now, login to your account on GoDaddy and add a subdomain admin.example.com. Follow the guide on how to add a subdomain for your registrar.
For GoDaddy, read this.
For Namecheap, read this.
That's it. Now you need to host two different websites (one for users and another for admins) one on main domain and another on a subdomain of your choice.
We create custom web apps for businesses and for the first time a client of ours has asked that instead of using our subdomain and instead of using a custom domain for their web app they would like to use their own subdomain for a domain currently hosted on another server.
For instance our domain is webapp.com and their domain is business.com. They would like app.business.com to be point to our name servers so we can continue hosting the web app for them.
I know it's possible to do this because we currently have outgoing CNAMEs on our server for help desks, etc, that aren't hosted on our own server but are using subdomains of ours.
Could you help me with what our client has to do on their zone editing side and what we need to do on our WHM/cPanel side to allow this?
NOTE: We had the client create a CNAME for app.business.com. pointed to our nameserver ns1.webapp.com and then we created an add-on domain for business.com and subdomain for app.business.com but when you try to visit app.business.com it gets the "Sorry!" cPanel page.
Thank you!
Alright I figured out how to do it on my own after a lot of testing & thought I'd post here to help others out in case they run across this in the future.
For the server with the subdomain on it have them create an 'A' record for that subdomain pointing to your server's IP address like so:
subdomain.business.com. ((note the extra period at the end is required))
TTL: 14400
Record Type: A
Pointing To: Your server's IP address.
Now on your server's cPanel you will need to create an addon domain for THAT subdomain (ie subdomain.business.com) - not for the actual business.com domain but for the entire subdomain subdomain.business.com with the folder being the root folder wherever you would like it to show.
That worked for me!
The CNAME should not point to your nameserver but your subdomain f.e. client1.webapp.com.
An other solution could be to add the subdomain app.business.com to your server and the client add an A record for the subdomain to your ip.
I'm confusing on something!
If I map a domain with 1&1 with a shedhosting with bluehost. Do this means that I can manage my domain from bluehost ?
in other words can I manage my domain with 1a1 (emails, subdomains...) from my bluehost without transferring it.
Thanks,
Of course you can. By the default, your domain nameservers will use registrar nameservers, in your case 1&1 service. Simply login to your 1&1 account, then change your domain nameservers to bluehost nameservers. You can find your hosting nameservers in your hosting cPanel (I assume that bluehost use cPanel). Or, if you find a trouble finding the nameservers, simply contact bluehost customer service.
After change the nameservers, then check it first to make sure the changes was take effect, use http://who.is service. Then go to your bluehost cPanel, you can manage domain name directly from there, add/remove subdomain, change dns record (A Record, CNAME, etc..) and also your mail will functioned (I assume that bluehost give you an email hosting service in your hosting package).
NOTE: You don't need to transfer your domain to bluehost, you can have your domain registrar different from your hosting provider. The only thing you need to do just pointing nameservers to your hosting nameservers.
REMEMBER: All your domain record in 1&1 account will not functioned, you need to move it to your bluehost cPanel. All A Record, CNAME, etc in your 1&1 panel must be re-written in your bluehost cPanel.
I use this method right now, and everything is ok!
I'm not exactly sure if this is more of a DNS question or the nature of most PaaS's.
I purchased a domain from namecheap.com. I wanted to get a WordPress site up and running so I could start development so I went over to openshift, created an account and installed WordPress, which was very easy! Only one problem... I'm having issues trying to sync my domain name from namecheap with the application on openshift. I must admit I've always purchased the domain name and hosting together so I've never had to go this route so I'm not entirely sure this has anything to do with the fact openshift is a PaaS.
In openshift, I have the URL for my application applicationname-account.rhcloud.com and I've added an alias on my namecheap.com account which works for a redirect... If I go to my purchased domain, www.example.com, it will simply redirect me to example-account.rhcloud.com. But I do not want a redirect...
I guess I'm confused as to how you get a domain name that you've purchased from one company to a hosting company. Do I need to modify something on my namecheap account?
This document states that you need to add a bare CNAME record to your DNS setup (may be what you refer to as an alias)
https://www.openshift.com/blogs/custom-url-names-for-your-paas-applications-host-forwarding-and-cnames-the-openshift-way
then add an alias to your Openshift application using the rhc command line tool, eg:
rhc alias add example-account www.example.com
I want to ask about cPanel, i have asked by my customer, they used cPanel as website control panel, so the case like this.
my client have cPanel WHM, their domain's name myClient.com can controled by cPanel, currently they have one exsisting website hosting at www.existingMyClient.com, so they want to make subdomain for example oldsite.myClient.com, which display the content of www.existingMyClient.com,
so, what i must configure in cPanel for that purpose ?
Go to Parked Domains on Cpanel of account existingMyClient.com
Create a parked domain oldsite.myClient.com
This parked subdomain (or domain) point to existingMyClient.com