A few questions.

Jeff75

Reputable
Joined
Jan 24, 2010
Messages
177
Reaction score
0
FP$
6
Hey,
I am going to be opening up a big site soon, and the main attraction is going to be the mainsite. I want to host the mainsite on one server and then host the forums on another server, so things could be a bit more organized and whatnot. But I was wondering, say if I buy the domain name http://example.com from somewhere, could I put that domain on both the servers? Like could I go to http://example.com and get the mainsite, and click on the link for the forums http://example.com/forums and it work fine since they are on both two separate servers?

Another question. Say if I have a file called "example.html" and then I have a layout in a folder called "layout". Would it be possible to put some code in the layout to where it will bring the info that is stored on the "example.html" file into the layout page where I choose? If that is possible, could there be a way that it just displays x amount of text/ lines?

Thanks.
 
I have to ask why do you feel the need to have 2 different servers.

you could probably do the whole thing on one, and using an add on like stargate portal you would have all the versatility you need.

In anycase i can't see a problem with using a domain name on 2 servers, if you own it, all you have to do then is set up re-directs in html to the various parts.
 
Make sure the two servers have the same name servers. I believe that would be pretty hard to do if you are pointing to different places.
 
If your domain name registar supports it, make a subdomain via them and set the DNS and stuff to your other server for say forums.example.com
 
I am going to use two servers because of the site I am making, the first one needs to be a offshore so I can post free downloads of manga, since the authors are against that.

Then the other host is going to be used for something completely different. I just have to have it organized and whatnot because of the various things that are going to be done.

I will see if the registar supports subdomains, hopefully they do lol.
 
I know it's possible, i don't know how to exactly do it, But one server needs to have ns1.blahblah.com and other server as ns2.blahblah.com and setup on the domain, ns1.blahblah.com as the IP of s1, and ns2.blahblah.com as the IP of s2. That MAY do it, as the domain gets pointed to two Servers.

Actually checked on my WHM, http://docs.cpanel.net/twiki/bin/view/A ... ureCluster

That may help you, even though you might not be using cPanel it gives you some pictures.
 
Back
Top Bottom