Results 1 to 13 of 13
Thread: Ahhhh how do I do this??
-
10-28-2006, 11:29 PM #1Junior Guru Wannabe
- Join Date
- Aug 2006
- Posts
- 86
Ahhhh how do I do this??
Ok, so this may be confusing:
I have my primary host, this is an example:
primaryhost
My other host is:
otherhostwebsite
__________
Now, I want to create a subdomain on my primary host to go to otherhost.
Like sub.primaryhost.com goes to www.otherhostwebsite.com
I want in the address bar, the link to say sub.primaryhost.com, I don't want it to change, but I want files and such to also show up after the domain, not just mask it.
Also, I heard you could edit the DNS zones through WHM. How do I do this?
I know I need the otherhost's IP, but wouldnt that just redirect you to the "Congratulations! Apache is working on your cPanel and WHM Server!"?
-
10-28-2006, 11:59 PM #2Web Hosting Master
- Join Date
- Apr 2003
- Location
- Canada
- Posts
- 587
It sounds like you mean 2 accounts on 2 different servers, in which case I don't think it's possible to do what you want, but if they are on the same server, you can just park one on the other from in cPanel and it does exactly that.
Mike
cPanel/WHM scripts at Premier Website Solutions (all your website needs)
Support young figure skaters in training. juniorskaters.com
-
10-29-2006, 12:44 AM #3Retired Moderator
- Join Date
- Jun 2004
- Location
- Canada
- Posts
- 2,357
-
10-29-2006, 12:56 AM #4Web Hosting Master
- Join Date
- Apr 2003
- Location
- Canada
- Posts
- 587
A redirect can be done between servers, but it would change the URL and he wants it to stay.
Mike
cPanel/WHM scripts at Premier Website Solutions (all your website needs)
Support young figure skaters in training. juniorskaters.com
-
10-29-2006, 01:17 AM #5Web Hosting Guru
- Join Date
- Nov 2005
- Location
- New York City
- Posts
- 250
You can have a subdomain.primaryhost.com on a different server. Just point a "A Record" to the secondary server using a service like dnsmadeeasy.com
LicensePal.com
-
10-29-2006, 02:52 AM #6Webhosting Professional
- Join Date
- Jun 2001
- Location
- Gotham City
- Posts
- 1,852
No this is not possible the way you want it. However there are two 'dirty' ways in which you can do this:
- Use frames
- Make a php script which basically 'fstreams' off your other account on the other hosting company. Would take a bit of tweaking to get it working but it is possible.
Aside from that I cannot think of any other way.[[ Reyox Communications / USA based cloud servers & support / 9 years of hosting websites ]]
[[ Affordable ASP.NET4, ColdFusion, PHP & MS-SQL, MySQL, cPanel/WHM & Windows Reseller Hosting + Virtual Private Servers ]]
(www.reyox.com) - Mention WHT and get a discount on your first month!
-
10-29-2006, 03:05 AM #7Retired Moderator
- Join Date
- Jan 2005
- Location
- Darwin, Australia
- Posts
- 1,339
Perfectly possible using the method Cifra-Patrick mentioned.
Web Hosting Plus
Premium Australian Web Hosting
-
10-29-2006, 04:00 AM #8Retired Moderator
- Join Date
- Feb 2005
- Location
- Australia
- Posts
- 5,849
Yep, what Cifra-Patrick said, but you don't have to use an external dns service.
Originally Posted by Roflcopterrr
sub.primaryhost.com. 3600 IN A 1.2.3.4
I know I need the otherhost's IP, but wouldnt that just redirect you to the "Congratulations! Apache is working on your cPanel and WHM Server!"?
HTHChris
"Some problems are so complex that you have to be highly intelligent and well informed just to be undecided about them." - Laurence J. Peter
-
10-29-2006, 09:20 AM #9Junior Guru Wannabe
- Join Date
- Aug 2006
- Posts
- 86
Would anyone be willing to make a complete tutorial for me?
I get confused by the:
It will, so then you need to add an account on otherhost for domain sub.primaryhost.com (you will probably need the A record set up first, as above).
-
10-29-2006, 09:41 AM #10Retired Moderator
- Join Date
- Jan 2005
- Location
- Darwin, Australia
- Posts
- 1,339
In the hosting account where the main domain is hosted xyz.com
1)Go into whm and then click "edit dns zone"
2) select xyz.com from the list of domains that are now displayed and then click edit
3) Scroll down to where it says "Add New Entries Below this Line"
4) Type in xxx.xyz.com to the left hand side of where it says "14400 IN A"(replace xxx with the subdomain name)
Type the IP of the other server hosting the subdomain to the right hand side of where it says "14400 IN A"
5) Click "save"
6) Go to the WHM account on the server that will be hosting the subdomain and create an account just as you normally would for xxx.xyz.com (replace xxx with the subdomain name)
Thats as best as I can describe itLast edited by SSHocker; 10-29-2006 at 09:44 AM.
Web Hosting Plus
Premium Australian Web Hosting
-
10-29-2006, 09:44 AM #11Junior Guru Wannabe
- Join Date
- Sep 2004
- Posts
- 54
Originally Posted by SSHocker
-
10-29-2006, 11:06 AM #12Everything in life is swelly
- Join Date
- Feb 2006
- Location
- Swellyville
- Posts
- 2,341
Originally Posted by SSHocker<<< Please see Forum Guidelines for signature setup. >>>
-
10-29-2006, 12:55 PM #13Junior Guru Wannabe
- Join Date
- Oct 2006
- Posts
- 45
Originally Posted by Global2