Munnin Posted August 10, 2003 Posted August 10, 2003 I am trying to establish subdomains so I can multi site my post nuke install. Yet the subdomain I established still ends up at the top apache directory as if I used the IP address to get there. Not sure what I am doing wrong so any help would be appreciated. Thank You Paul Wilson Quote
TCH-Rick Posted August 10, 2003 Posted August 10, 2003 Provide a url so we can see what is happening. I'm not real sure what you are trying to do. Quote
Munnin Posted August 10, 2003 Author Posted August 10, 2003 Sorry should ahve thought of that. http://draftclark.net/ ends up where I want it. http://ny.draftclark.net/ end up at the exact same location as entering the server address. I want it to actualy go to the same directory as teh above address, then post nuke will interpet what it should do with the address. Quote
TCH-Rick Posted August 10, 2003 Posted August 10, 2003 I'm getting your MT log-in page with the subdomain address. Quote
Munnin Posted August 10, 2003 Author Posted August 10, 2003 Ok must be a cach issue on my end. thaks for your time. Quote
Munnin Posted August 11, 2003 Author Posted August 11, 2003 OK, sub domains are now working but I cannot get it to do what I want. I want these sub-domains to all go to the same directory but not be redirected there as that changes the actual name. students.draftclark.net should go to the same location as draftclark.net Yes I know its a weird request, but that’s the way post nuke wants it in order to get multi site working. Quote
TCH-JimE Posted August 11, 2003 Posted August 11, 2003 Hi, I am not sure you can have different subdomains all originaiting from the same folder. You would have to do a redirect. Jim Quote
Dennis Posted August 11, 2003 Posted August 11, 2003 Hi, just realised this after reading this thread. I have a subdomain forums.mysite.com which I've created from the Cpanel (which created the forums folder; in the public_html folder as well). However, as the forums folder is in the public_html folder, thus users are able to acces the subdomain by typing in mysite.com/forums, which I do not want but rather want them to access it via the subdomain, forums.mysite.com. Is there a way to disable the access by the mysite.com/forums way? Quote
TCH-JimE Posted August 11, 2003 Posted August 11, 2003 Hi, That would involve you learning the moed_rewrite on apache and possible a CGI script too Jim Quote
Dennis Posted August 11, 2003 Posted August 11, 2003 Hi Jim, Managed to get it sorted out by using the redirect on the CPanel to redirect user keying in mysite/forums/ to forums.mysite.com. Thanks anyway Quote
TCH-JimE Posted August 11, 2003 Posted August 11, 2003 I forgot Cpanel does the mod_rewrite for you! You might want to take a look at the coding in the HTACCESS file for later reference Jim Quote
Dennis Posted August 11, 2003 Posted August 11, 2003 Sure, would do that There's no ending to learning Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.