How to point domain to different host sub folder? - asp.net

I have a host and domain on asphostportal.com, and I have a subdomain like: sub.domain.com.
Now my friend has another domain like frienddomain.com and he points to my host.
How can I point his domain to my subfolder sub?
Everytime he opens frienddomain.com, it will show my site on sub.mydomain.com. Currently he shows my mydomain.com sites.
Is this possible?

When you purchase hosting from hosting provider, they are always gives us Domain DNS Information like below:
Domain DNS Information
Domain Name Server 1: ns1.abc.xyz.com
Domain Name Server 2: ns2.abc.xyz.com
OR
Domain Name Server 1 IP: 2.1.17.146
Domain Name Server 2 IP: 2.1.12.56
Gives above DNS to your friend to update his existing domain DNS with yours DNS. Your friend would update it his domain purchase account and it will take 12-24 hours to update DNS. It depends on domain purchased company.
After successfully set your hosting DNS in your friend's account, you have to add your friend's domain frienddomain.com in your hosting control panel and point your sub folder as a root for domain frienddomain.com
Here are some reference links:
https://www.youtube.com/watch?v=Sva42KVt0-o
https://www.123-reg.co.uk/support/answers/Video/Domains/how-do-i-point-my-123-reg-domain-name-to-my-3rd-party-website-3874/
https://webmasters.stackexchange.com/questions/28148/point-domain-to-new-host-changed-nameservers-now-what
Please let me know if you have any questions.

Related

Same Domain WordPress login on different server wp-admin

Quick Question.
A guest house was bought by the original owner and scenario as follows.
The Website for that guesthouse is on its own Hosted WordPress installation at the current host
The login address would be https://Example/wp-admin
I re-created that user account on our hosted WHM as I need to transfer the website and Domain to myself.
Can I login to the newly created WP-admin on my server while the A record is Pointed to the current hosts IP?
Example
Current Host
Example/WP-admin
IP:46.0.0.0
Example
New Host
Example/WP-admin
IP:76.0.0.0
How Can I login to the WP on the new host if the DNS is pointing to the IP:46.0.0.0 (Current Host)
FYI - most will ask why don't I point the A record, that's because the current host does not have the logins for the Cpanel, nor are they answering calls
THANKS,
hope this makes sense in the way I phrased it.
On your local machine you can change the hosts file to point Example webstie to 76.0.0.0 and then you can flush the dns cache and web browser cache. From now on Example website will point to 76.0.0.0 for your computer only. If you have a Windows machine and admin access, you can modify the hosts file under c:\Windows\System32\Drivers\etc\hosts ( change c partition to the partition that you have installed your windows on, if its different then "c" ) then you can add following line:
76.0.0.0 example.com www.example.com
Please make sure you flush the dns cache and clear the web browser cache afterwards.
If you want the whole world to see Example website from 76.0.0.0 you would have to change the A record.

How to map a custom domain name with an Azure server?

I know this question has been asked numerous times here but I still don't get the solution, sorry about that.
I deployed a wordpress multi site VM on my Azure account and purchased a domain name "https://jobinwrites.com" from Azure DNS service. I followed the instructions here to map an "A record" to the IP address of this Azure VM:
And this is how the overview of the Azure VM looks like:
When I hit the IP address of the machine or the jobinwrites.westus.cloudapp.azure.com domain, I correctly hit the service. However, when I try jobinwrites.com, the browser returns a DNS address not found exception. What am I doing wrong here? Thanks in advance.
According to your description, you want to map a custom domain name to your Azure VM, we should buy this custom domain name first.
Azure DNS is not the domain registrar.
We should login your 3rd party domain register configure page.
Each registrar has their own DNS management tools to change the name server records for a domain. In the registrar's DNS management page, add a new A record, like this:
Host type value
xxxxx A 104.42.230.37
If you want to add a CNAME record, please refer to this answer.

Point Arvixe Domain to GoDaddy Hosting

I have a domain in Arvixe and I want to point it to my Wordpress website hosted in Goddady.
I've tried to add that domain in my wordpress website and add the NS registers on Arvixe domain manager, but I found this error: Registry error, domain's nameservers not updated [Object status prohibits operation]
These are my DNS Register on Goddady:
And this is my domain area on Arvixe:
Did someone face this situation?
It looks like you are trying to change the name servers or delegate your domain to GoDaddy when what you actually want is to point www.yourdomain.bleh at your Word Press site hosted on GoDaddy.
In the Arvixe domain manager simply add a A record pointing to the IP address of your GoDaddy web server and make sure the site is configured on GoDaddy as www.yourdomain.bleh
Unless you want to move the control of the DNS to GoDaddy then you don't need to worry about the dns settings at all on that side of things.
The error you get from your dns provider hints that they may not let you change the NS entries freely. (May they charge or require further checks in place before its allowed)
I had to ask on Arvixe Support to point my domain to GoDaddy. So I informed the Register A and the Name Server to the attendant and he changed for me.

Pointing domain from one cPanel account to another

I manage a hosting server using WHM. I have two cPanel accounts on this server, one for exampletest.com (account name is exampletest) and one for example.com (account name example). We have a Wordpress site that was working well at exampletest.com but we keep running into problems when we try to migrate it to example.com. I believe it has to do with one WordPress plugin that doesn't migrate well.
So we had the idea to simply take the example.com domain and point it to the exampletest cPanel account, then update the domain for WordPress in the database. However, one potential issue I can see is that we have many active email addresses on the example account. I fear that associating the example.com domain to the exampletest account will break the email addresses.
Keeping the above in mind, I have a couple questions:
Will associating the example.com domain to the exampletest account break the emails? If so, is there a workaround (moving the email addresses to the new account somehow?)
Is there a better way to go about doing this that I'm not thinking of?
The best way of transferring your wordpress site would be to copy the files, create a database user with the same login details and import the database. Wordpress shouldn't be able to tell the difference.
One way would be to assign a static IP address to exampletest and point example.com's A record to that IP.
Due to the way WHM's DNS and port binding is set up it will not let you set up the same domain on two seperate accounts.
You could treat www. as a seperate subdomain and add the subdomain www.example.com to exampletest as an addon domain and remove the www A record from example first. Redirect all web traffic from example.com to www.example.com or use another sub-domain such as www2.
Another option would be transfer the emails, you can either use the transfer tools in WHM > Transfers or use http://imapsync.lamiral.info/

Can I have 2 different DNs zones?

I have a wordpress blog hosted on blog.company.com, and now I'm trying to create a DNS entry on Heroku to get mycompany.com but I get the following error:
! could not create zone; already registered on Zerigo to a different account?
What am I missing herE?
Thanks
At a guess there's already an account on Zerigo that has the zone mycompany.com registered to it.
You can't (easily) have a domain hosted on two seperate DNS providers, you're best option would be to find the DNS host of blog.mycompany.com and setup a subdomain on the mycompany.com domain, eg www as a cname entry to proxy.heroku.com and then add www.mycompany.com as a custom domain on your heroku application.
The fact that you're getting the message about a duplicate zone, is Zerigo already hosting the DNS for blog.company.com perhaps? In which case login to the control panel for that (the zone is company.com) and add a record for your site.

Resources