Jump to content

Featured Replies

Posted

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

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?

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

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.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

  • Author

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 :)

  • Author

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 :)

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.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

  • Author

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 :)

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

  • Author

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

) you're welcome.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

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.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

  • Author

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>

  • Author

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

But one time it worked, right?

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Ok, so assuming you have configured all the required parameters for routing from outside to inside, do the same for inside to inside.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

  • Author

so am i on the right page here?

 

setup a static route from 122.61.186.232 to 192.168.0.2

 

cause from that nslookup it appears its pointing straight to the router? no my server

Yep, but this should prevent you from accessing your router on HTTP from the EXTERNAL (internet) network.

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

So, do it :)

--------------------------------------------------------

Tu peux aussi crire en franais.

Du kannst auch auf Deutsch schreiben.

Puoi scrivere anche in italiano.

--------------------------------------------------------

Guest
Reply to this topic...