How to point a subdomain to an IP address?

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
457
Points
28
My domain is being hosted on an IP address and I want to pint point a subdomain to another ip address on a same host or different hosting. Is it possible and how can I do this?
 

norled

Member
Registered
Joined
Feb 22, 2017
Messages
50
Points
8
If you're using cpanel , here's what to do :

1. Add a subdomain under 'subdomains'
2. Go to 'advanced zone editor' and select your subdomain
3. Add an A record and in the 'address' field put the IP of your destination host

All done.
 

Harry P

Well-known member
Registered
Joined
Feb 3, 2015
Messages
457
Points
28
Just create an A record and create subdomain and put the ip there.
If you're using cpanel , here's what to do :

1. Add a subdomain under 'subdomains'
2. Go to 'advanced zone editor' and select your subdomain
3. Add an A record and in the 'address' field put the IP of your destination host

All done.
After created this how can I connect mySQL database? it is connected remotely?
I think there are tons of problems if I point a subdomain to a new IP
 

AlbaHost

Well-known member
Moderator
Hosting Provider
Joined
Jan 18, 2017
Messages
810
Points
43
First try and then check tons of problems ;)
 

Sponsors

Tag Cloud

You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an alternative browser.

Top