Need help with IIS issue

Status
Not open for further replies.

DewChugr

Photoshop God
Jun 26, 2006
1,977
66
0
48.655139,-119.644032
I have sites that I am forced to run on IIS. I don't quite understand why, but all of our sites are accessed internally as the domain name without the www and the com, ie http://sears. I need to set up a WP blog, but of course when I configure it to work externally it won't work internally.

This is an internal server so we do have control of it, but I don't know IIS much. How can I make this work so it can be accessed internally and externally.
 


What do you change to make it work externally? Is WP in the root of the web folder, if so, have you tried accessing the server using the external IP - what happens? Can you access other services on the machine externally? (i.e RDC, FTP, etc..) Are you sure your website is pointing to your NS'?

However, if your only forced to use Windows servers and not specifically IIS then you could always throw Apache on there.
 
Everything works normally from the outside. It's internally the sites are mapped (?) to domain, without the www and the com.

Unfortunately Apache is not an option.
 
Okay, I think I'm misunderstanding. It sounds like you have a website called Example Web Page, hosted on a server within business/corporate type network.. Example Web Page works for external access, but internally its accessed by only going to http://example. Assuming the IIS box is infact a member of an (internal) domain then its normal for http://example to work without the www or com. Its like installing a web server on your personal pc and going to cPanel

Are you saying that trying to access Example Web Page from within your network isn't working? Or is redirecting to just http://example?

But I do have a feeling you know all this and I've completely misunderstood your question

EDIT: I unchecked the parse links boxes but its still doing, however "Example Web Page" is obviously www*example*com
 
Yes, that's pretty much it. When I go to www*example*com or example*com from inside it doesn't work. It doesn;t redirect, just an error about page not found I believe. This hasn't been a problem, we just tell everyone that when they are in the office they just go to example.

The problem arises when I installed WP. I have to enter the address of the blog in the config. So when I enter http://www*example*com/blog it only works externally. This is obviously a problem as I have people that need to be able to update it from inside as well as outside.
 
Hmm, can you access it by the external IP address internally? I'm assuming the internal PC's can access the internet normally yes?

I cannot see how installing wordpress could possibly cause this, and sounds like more of a DNS problem than IIS. Have you checked your zones on the DNS? Checked event log for any random changes happening around then?
 
The problem has existed pre WP, but it has become an issue because WP won't work the way things are now. The external ip does not work internally, but we can access the internet normally. I don't know anything about zones, I'm just a web dude.
 
Okay, I think I've figured out the issue -- it's one of two things. Either:

A. Your web browser is set up to use a proxy, and the proxy will not route traffic out to the Internet that it knows is bound for the internal network (it would be a waste of bandwidth.) The domain name Example Web Page is set up to not use the proxy -- but it doesn't exist internally, you need http://example. -- or,
b. Your internal DNS server is refusing to return an internal IP for Example Web Page, or is returning the external IP instead, so your web browser can't find the site.

There are a few solutions here:
1.) In your web browser, turn off the proxy. In IE, this is under Tools->Internet Options->Connections->LAN Settings. In Firefox it's easier to find. In any case, configure it to not use a proxy, and most importantly, not to "automatically detect settings." This should fix the issue... but with the browser configured that way, you won't be able to use any real Internet sites. This will fix case A.

2.) Ping the site (i.e. go to a DOS prompt and type "ping example", if example is the internal name of the site.) See the IP address it uses. Then add a line to the file c:\windows\system32\drivers\etc\hosts that says "aaa.bbb.ccc.ddd www.example.com", where aaa.bbb.ccc.ddd is the IP address. That should mean that on that computer you can access the site as Example Web Page. (You may need a reboot to commit this, though.) This will fix case B.

3.) If you really need it to work on both names both internally and externally, on all computers and not just yours, then you need to talk to whoever administers the DNS and/or proxy infrastructure for the network. This can't be fixed in IIS -- you need either a.) to add the name Example Web Page to the internal DNS server with the internal IP (from option 2) on it, or b.) set up the proxy server (probably an ISA box) to consider this IP external and allow access to it.
 
I have sites that I am forced to run on IIS. I don't quite understand why, but all of our sites are accessed internally as the domain name without the www and the com, ie http://sears. I need to set up a WP blog, but of course when I configure it to work externally it won't work internally.

This is an internal server so we do have control of it, but I don't know IIS much. How can I make this work so it can be accessed internally and externally.

Add host headers

Add active directory DNS entry for your local URL, point domain DNS to servers's public IP or nameservers.

This is easy peasy, PM me if you need help.
 
WordPress will only respond to one domain name regardless of the host headers configured in IIS. Your problem really has nothing to do with IIS, the problem comes from your internal vs external networks. So you'd to set it up as Example Web Page and then configure your internal network to see that address as the internal IP. Right now, the example.com is pointing to your external IP which you've said the internal network cannot access. So the solution is to override that DNS record on your internal network. You'll need to have a central DNS server inside the network to make this happen or manually change the hosts file on every workstation.
 
^^^^^

Correct. I didn't see the Wordpress bit in the original post. Hmmm, maybe a plugin is needed...
 
You can't. IIS alone is only an SMTP service--it does not support POP, IMAP or other protocols, nor can you create individual mailboxes. You would need to purchase an e-mail server (like MailMax or Smart Mail).
 
You can't. IIS alone is only an SMTP service--it does not support POP, IMAP or other protocols, nor can you create individual mailboxes. You would need to purchase an e-mail server (like MailMax or Smart Mail).

Did you eat paint chips as a kid?
 
Status
Not open for further replies.