Solved

I have an web server (IIS) on my network, hosting several sites . What I need to do to access this sites from the local network?

Posted on 2009-06-28
4
324 Views
Last Modified: 2012-06-27
Hi,

I have a Web server hosting some websites and I can't acces this sites from the local network.
I have 10MB ADSL access - The router si conected to port 1 of my switch and al the computers and the server to the same switch

It's working well when somebody access the webpages from outside but I can´t see the pages from local network.

I put the server local IP (192.168.1.33) in the DMZ inside the router and I also added port forwarding setings inside the router like TCP 80 ---> 192.168.1.33 ...

The problem is that one of the sites (script -> ASP) use CDO for sending emails.
It's work nice but when the site try to send a local page via email I get an error:

CDO.Message.1 error '80040218'

Unknown Error

/mailpp_sunsizbor.asp, line 36
 

<%
 
Dim objConfig,smarthost,msgBody 
set Mail = createobject("cdo.message")
set objConfig = createobject("cdo.configuration")
 
msgBody = "http://sunsizbor.com/mail_s_11.asp?nume=" & tName & "&user=" & tEmail 	
 
smarthost = "127.0.0.1"
' Setting the SMTP Server
Set Flds = objConfig.Fields
Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = smarthost
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic 'cdoAnonymous ' =0 
Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "info"
Flds.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "*********" 
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 25 
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = False
Flds.Item("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 60
 
 
Flds.update
 
Set Mail.Configuration = objConfig
Mail.To = temail
'mail.BCC = ""
Mail.From = "info@sunsizbor.com"
Mail.Subject = msgSubject
Mail.CreateMHTMLBody msgBody         ' THIS IS LINE 36
Mail.fields.update
Mail.Send
 
set objConfig = nothing
 
 
Set Mail = Nothing
End Function
%>

Open in new window

router.jpg
0
Comment
Question by:cardei80
  • 2
4 Comments
 
LVL 5

Expert Comment

by:rizwanidrees
ID: 24730546
Have you checked DNS entries for locally hosted domains in your DNS Server?
0
 

Author Comment

by:cardei80
ID: 24730649
I don´t have a DNS Server role installed on the local server.
The DNS service that I use is provided by the domain registrand company.
There in the control panel of this company I set the ip 80.37.xx.xx (my static iP) for A, MX, WWW, FTP, MAIL ...

I have to install a DNS server role in this case?
How I need to configure this ??
Thanks
0
 
LVL 5

Accepted Solution

by:
rizwanidrees earned 500 total points
ID: 24730709
If you have Domain controller installed installed in your network than there must be a DNS server role also. and all request from your local network go to your local dns server first than forwarded to router
0

Featured Post

Manage your data center from practically anywhere

The KN8164V features HD resolution of 1920 x 1200, FIPS 140-2 with level 1 security standards and virtual media transmissions at twice the speed. Built for reliability, the KN series provides local console and remote over IP access, ensuring 24/7 availability to all servers.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
OSPF - Convergence & Downtime 9 37
Upgrading from Sonicwall Tz210 6 14
VPN Server config in Modem 5 31
Layer 3 switch recommendation 15 12
How to set-up an On Demand, IPSec, Site to SIte, VPN from a Draytek Vigor Router to a Cyberoam UTM Appliance. A concise guide to the settings required on both devices
For many of us, the  holiday season kindles the natural urge to give back to our friends, family members and communities. While it's easy for friends to notice the impact of such deeds, understanding the contributions of businesses and enterprises i…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…

820 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question