iphonogasm Posted July 12, 2011 Posted July 12, 2011 so my most recent problem is as follows, i am hosting multiple website in server 2008 with IIS so in binding options, i specify the website, ie. www.guitaronline.co.nz now when i enter guitaronline.co.nz, the website only works without www and when i enter www.guitaronline.co.nz the website only works with www. is there something in the binding options i can set thanks update: so now i have 2 domains, www.guitaronline.co.nz and www.accesscontrolsystems.co.nz and 2 sites guitaronline and acs binder acs with www.accesscontrolsystems.co.nz and it points me to the correct site when entered however without the www points me to the guitar online site. the domain guitaronline.co.nz and www.guitaronline.co.nz both point to site guitaronline as i removed the binding all togeather? this is correct just not the acs one any ideas GREATLY appreciated!! Thanks (ICTCity :) lol ) helps me alot Quote
ICTCity Posted July 12, 2011 Posted July 12, 2011 I don't understand your problem. If I type: http://www.accesscontrolsystems.co.nz/ I can see a website called template with 2 girls. If I type: http://www.guitaronline.co.nz/ I can see the phpinfo() information's page. Where's the problem? Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted July 12, 2011 Author Posted July 12, 2011 And without the www It doesnt work thats the problem Quote
ICTCity Posted July 13, 2011 Posted July 13, 2011 The first one works like a charm. The second points to 403 (forbidden). You have two chances: Implement a redirect: http://www.webconfs.com/how-to-redirect-a-webpage.php Or implement a redirect everytime the 403 error appears. This can be made by the IIS manager console. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted July 13, 2011 Author Posted July 13, 2011 I added two bindings to each site. Guitaronline Guitaronline.co.nz Www.guitaronline.co.nz Acs accesscontrolsystems.co.nz www.accesscontrolsystems.co.nz Can you access the site or are you asked for a password? Cheers man Quote
iphonogasm Posted July 14, 2011 Author Posted July 14, 2011 so i fixed the binding issue as above by adding 2 bindings to each site. now it works with www and without on both sites but now, when i try visit the website locally, on the network that the website is hosted on, on one site, www.accesscontrolsystems.co.nz loads the site, but accesscontrolsystems.co.nz loads router homepage prompting the username and password on the other site, guitaronline.co.nz loads the site, but www.guitaronline.co.nz loads router config page, again prompting username and password? any ideas, also when you have a sec could you check both sites and both addresses accesscontrolsystems.co.nz and www.accesscontrolsystems.co.nz guitaronline.co.nz and www.guitaronline.co.nz i just want to be sure there are no issues viewing them, no access denied etc.. Thanks!! learning lots :) Quote
iphonogasm Posted July 14, 2011 Author Posted July 14, 2011 so i fixed the binding issue as above by adding 2 bindings to each site. now it works with www and without on both sites but now, when i try visit the website locally, on the network that the website is hosted on, on one site, www.accesscontrolsystems.co.nz loads the site, but accesscontrolsystems.co.nz loads router homepage prompting the username and password on the other site, guitaronline.co.nz loads the site, but www.guitaronline.co.nz loads router config page, again prompting username and password? i setup static DNS and forwarded both site addresses to the local server IP, this made the one URL work but not both, even tried with both, see image below [ATTACH]111.IPB[/ATTACH] any ideas, also when you have a sec could you check both sites and both addresses accesscontrolsystems.co.nz and www.accesscontrolsystems.co.nz guitaronline.co.nz and www.guitaronline.co.nz i just want to be sure there are no issues viewing them, no access denied etc.. Thanks!! learning lots :) Quote
ICTCity Posted July 14, 2011 Posted July 14, 2011 Everything works fine right now. For your internal problem follow this simple step: (on your DNS config): replace 192.168.0.2 with 122.61.186.232 Let me know. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted July 14, 2011 Author Posted July 14, 2011 For all 4 addresses? Thanks Ps. One quick question, phpmyadmin is accessible on my server guitaronlone.co.nz/phpmyadmin is this dangerous? Thanks :-) Quote
ICTCity Posted July 14, 2011 Posted July 14, 2011 yep for each domain / IP. It's not a good thing you login via HTTP, try to set the HTTPS at least. Anyway, you should implement a maximum attempt (let's say 3) and then block for a while (10-20 mins) the account. I don't know if this can be made by phpmyadmin, just google a bit :) Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted July 14, 2011 Author Posted July 14, 2011 yep for each domain / IP. It's not a good thing you login via HTTP, try to set the HTTPS at least. Anyway, you should implement a maximum attempt (let's say 3) and then block for a while (10-20 mins) the account. I don't know if this can be made by phpmyadmin, just google a bit :) Sweet as thanks for your help mate Quote
ICTCity Posted July 15, 2011 Posted July 15, 2011 ;) you're welcome. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted July 15, 2011 Author Posted July 15, 2011 the above didnt work? www.guitaronline.co.nz 122.61.186.232 guitaronline.co.nz 122.61.186.232 www.accesscontrolsystems.co.nz 122.61.186.232 accesscontrolsystems.co.nz 122.61.186.232 but www.accesscontrolsystems.co.nz points to router again and guitaronline.co.nz point to router to thanks! Quote
ICTCity Posted July 15, 2011 Posted July 15, 2011 There's some wrong with the DNS, try to flush your client: ipconfig /flushdns and restart your router to "flush" its cache. If the problem remains try the following: nslookup > all your domains Post results. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
iphonogasm Posted July 15, 2011 Author Posted July 15, 2011 here are results on local network after flushing DNS site 1 Microsoft Windows [Version 6.1.7601] Copyright © 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>nslookup www.accesscontrolsystems.co.nz Server: HAIGHACCESS.home Address: 192.168.0.1 Non-authoritative answer: Name: www.accesscontrolsystems.co.nz Address: 122.61.186.232 C:\Users\Administrator>nslookup accesscontrolsystems.co.nz Server: HAIGHACCESS.home Address: 192.168.0.1 Non-authoritative answer: Name: accesscontrolsystems.co.nz Address: 122.61.186.232 C:\Users\Administrator> Quote
iphonogasm Posted July 15, 2011 Author Posted July 15, 2011 and heres second website Microsoft Windows [Version 6.1.7601] Copyright © 2009 Microsoft Corporation. All rights reserved. C:\Users\Administrator>nslookup www.guitaronline.co.nz Server: HAIGHACCESS.home Address: 192.168.0.1 Non-authoritative answer: Name: www.guitaronline.co.nz Address: 122.61.186.232 C:\Users\Administrator>nslookup guitaronline.co.nz Server: HAIGHACCESS.home Address: 192.168.0.1 Non-authoritative answer: Name: guitaronline.co.nz Address: 122.61.186.232 C:\Users\Administrator>^Affffff Quote
ICTCity Posted July 15, 2011 Posted July 15, 2011 But one time it worked, right? Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
ICTCity Posted July 15, 2011 Posted July 15, 2011 Ok, so assuming you have configured all the required parameters for routing from outside to inside, do the same for inside to inside. Quote -------------------------------------------------------- Tu peux aussi crire en franais. Du kannst auch auf Deutsch schreiben. Puoi scrivere anche in italiano. --------------------------------------------------------
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.