Iis Binding Issue

iphonogasm

Well-known member
Joined
Jun 19, 2011
Messages
247
Location
New Zealand
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
 
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 :)
 
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

View attachment 111

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 :)
 
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.
 
For all 4 addresses?

Thanks

Ps. One quick question, phpmyadmin is accessible on my server guitaronlone.co.nz/phpmyadmin is this dangerous?

Thanks :-)
 
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 :)
 
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
 
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.
 
here are results on local network after flushing DNS site 1

Microsoft Windows [Version 6.1.7601]
Copyright (c) 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>
 
and heres second website

Microsoft Windows [Version 6.1.7601]
Copyright (c) 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
 
Ok, so assuming you have configured all the required parameters for routing from outside to inside, do the same for inside to inside.
 
Back
Top