?
Solved

browse to local domain doesnt work but to other domains it works on my Windows 2003 server

Posted on 2011-03-08
29
Medium Priority
?
401 Views
Last Modified: 2012-05-11
I have a Windows 2003 server with some domains, now I try to browse them in the browser on the Windows 2003 server, but it doesent work. But if I try to browse other domains, it works good.

Any solution?

0
Comment
Question by:Hocke_sweden
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 16
  • 13
29 Comments
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35086979
If I were to hazard a guess from this, I would start by looking at DNS.  Is your server pointing to a local DNS server as its primary DNS source?  If a domain member, it should be pointing to only local-to-the-domain DNS server(s), anyway.

DrUltima
0
 

Author Comment

by:Hocke_sweden
ID: 35094344
No its not pointing to a local DNS server as its primary, we have the server at a web hotel, its pointing to the web hotels DNS. I have talked with the web hotel and they it can't be the firewall because its local domains!

0
 

Author Comment

by:Hocke_sweden
ID: 35094431
What I want is get some pictures from the local webbserver to make some pdf. One solution should be to put the pictures to another server and domain. But it doesn't feel so good and a bad solution!
0
Does Your Cloud Backup Use Blockchain Technology?

Blockchain technology has already revolutionized finance thanks to Bitcoin. Now it's disrupting other areas, including the realm of data protection. Learn how blockchain is now being used to authenticate backup files and keep them safe from hackers.

 
LVL 31

Expert Comment

by:Justin Owens
ID: 35095060
If a server or workstation is a Domain Member, it needs to have the Domain aware DNS servers as its primary setting.  I am not sure what a "web hotel" is.  If you could explain a little more about your scenario, we should be able to get this resolved.
0
 

Author Comment

by:Hocke_sweden
ID: 35095180
Sorry "web hotel" = web hosting!

I have a pdf component, http://www.asppdf.com/, who make import a HTML file and create a PDF of it, all the pictures are missing in the pdf, pictures is on my local server, and I get this error

failed. Data: http://www.testdomain.com/design/stats/y.gif
Image: MSXML2::ServerXMLHTTP Error: The attempt to connect to the server




0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35095273
So... The ADPPDF product is installed on a server in a web hosting environment.  It is trying to generate a PDF file pulling images from a domain which is NOT in your web hosting environment.  They are right about it probably not being the firewall (though I won't say can't, because it can, however unlikely that is).  Web hosting is a different environment.  Are you web hosting (renting web space) or are you server hosting (renting an entire server for your use)?  If web hosting, you will need to get the images to a location that is publicly available, not inside your domain.  If you are server hosting, then you should be able to modify DNS to allow you to see internal to your domain (assuming proper connectivity).

DrUltima
0
 

Author Comment

by:Hocke_sweden
ID: 35105975
Its a server hosting, we have our own web server (rent), with some domains on, for example http://www.domain1.se, http://www.domain2.se.
The ASPPDSF product is installed on our server hosting server and the images are on the same server.The images are publicly available.
How can I modify the DNS to allow to see internal to to my domain?
0
 

Author Comment

by:Hocke_sweden
ID: 35135657
Any tip how I can make it?
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35137551
I am a little confused.... You indicate that your product is:

1) Installed on a hosted server...
2) Images are on that same server...
3) Images are publicly available...
4) Your single server is hosting two web domains...

How do you connect to your hosted server when you are needing to edit the websites?
Where, on those servers, are the images stored?
Why do you need to see internal to your domain if the images are stored in a publicly available space?

DrUltima
0
 

Author Comment

by:Hocke_sweden
ID: 35137899
I connect to the server with remote desktop or FTP or with CMS  through a browser

They are located here (the domain is not the real one)
D:\inetpub\wwwroot\www.testdomain.com\design\stats\y.gif
http://www.testdomain.com/design/stats/y.gif

We have a pdf componet who is installed on the same server, and it need to get the images from http://www.testdomain.com/design/stats/y.gif on the same server

You understand my problem? Or Im unclear :)


0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35138347
So, do you have control of the settings on the host server?  If so, you can place a static IP address for www.testdomain.com to 127.0.01 or its own assigned IP address into your HOSTS file.  If you PING www.testdomain.com from the remote server, does it reply with the correct IP address (assigned to the NIC or loopback)?
0
 

Author Comment

by:Hocke_sweden
ID: 35139094
Yes I have all controll of the host server!

 I changed the host file here
C:\WINDOWS\system32\drivers\etc\
I tried with both 127.0.0.1 and the real IP address, the same result!


If I ping www.testdomain.com from the remote server I get the correct IP address, I can also ping www.testdomain.com from the host server and get the correct IP address!

0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35140322
When you display the web pages, do you see all the images?  It just fails to generate a PDF with the images you otherwise see on the page?
0
 

Author Comment

by:Hocke_sweden
ID: 35145036
No I don't see the images and the web pages if I browse on internet explorer on the host server,

but if I browse from another computer I see the images and webpages, its only from the host server I don't see the images.

The pdf is generated but without images, beacause it can't get the images!
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35147509
Can you post the HTML code (even just a snippit) from one of the pages which has the image errors?  For this purpose, it would need to be the real code, not scrubbed URLs.

DrUltima
0
 

Author Comment

by:Hocke_sweden
ID: 35148122
Here comes the code, its ASP code, who make the pdf! The attached HTML file is the source to make the PDF file.



<%filename_and_path_pdf_url="http://www.vastaa.com/files/1_B5A068CD.pdf"
'filename_and_path_html_url="http://www.vastaa.com/files/1_B5A068CD.html"
filename_and_path_html_url="D:\inetpub\wwwroot\www.vastaa.com\files\1_A8935BC0.html"


Set Pdf = Server.CreateObject("Persits.Pdf")
Set Doc = Pdf.CreateDocument
		
Doc.ImportFromUrl	filename_and_path_html_url, "PageWidth=950"
filename = Doc.Save( filename_and_path_pdf, False )
Response.Write "Downnload your pdf file here<A HREF='" & filename_and_path_pdf_url & "'>Click here</A>"
%>

Open in new window

1-A59440C71.html
1-A59440C71.pdf
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35148219
When you are remotely logged into your server, what result do you get then you type at a command prompt:

NSLOOKUP marknadskraft.com

DrUltima
0
 

Author Comment

by:Hocke_sweden
ID: 35148312
Server:  ns1.citynetwork.se
Address:  91.123.193.2

Name:    marknadskraft.com
Address:  91.123.194.31
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35148373
OK... And when you

PING marknadskraft.com

Do you get a reply from that same IP address?  Is marknadskraft.com the AD domain name to which your remote server belongs?
0
 

Author Comment

by:Hocke_sweden
ID: 35148391
Yes its the same IP address! Yes marknadskraft.com is the remote server belongs


C:\Documents and Settings\Administrator>ping marknadskraft.com

Pinging marknadskraft.com [91.123.194.31] with 32 bytes of data:

Reply from 91.123.194.31: bytes=32 time<1ms TTL=255
Reply from 91.123.194.31: bytes=32 time<1ms TTL=255
Reply from 91.123.194.31: bytes=32 time<1ms TTL=255
Reply from 91.123.194.31: bytes=32 time<1ms TTL=255

Ping statistics for 91.123.194.31:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35148408
So, the FQDN of that server is servername.marknadskraft.com?

Does an NSLOOKUP of www.marknadskraft.com yield the same IP address?
0
 

Author Comment

by:Hocke_sweden
ID: 35148912
I think marknadskraft.com is the FQDN, but Im not 100% sure, I haven't installed it from scratch! How can I check it?

www.marknadskraft.com NSLOOPUP give the same Ip address
0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35149692
If you do an IPCONFIG /all, you should get a bunch of info.  The first two entries should be:

Host Name . . . . . . . . . . . . : YOURSERVERNAME
Primary Dns Suffix  . . . . . . . : marknadskraft.com
0
 

Author Comment

by:Hocke_sweden
ID: 35151361
ipconfig /all

Windows IP Configuration
   Host Name . . . . . . . . . . . . : marknad7
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Unknown
   IP Routing Enabled. . . . . . . . : No
   WINS Proxy Enabled. . . . . . . . : No

Ethernet adapter Local Area Connection:

   Connection-specific DNS Suffix  . :
   Description . . . . . . . . . . . : Broadcom BCM5708C NetXtreme II GigE (NDIS
 VBD Client)
   Physical Address. . . . . . . . . : 00-1E-4F-31-7D-0A
   DHCP Enabled. . . . . . . . . . . : No
   IP Address. . . . . . . . . . . . : 192.168.1.3
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : 192.168.1.1
   DNS Servers . . . . . . . . . . . : 91.123.193.2
                                       91.123.193.3

Ethernet adapter Local Area Connection 2:

   Media State . . . . . . . . . . . : Media disconnected
   Description . . . . . . . . . . . : Broadcom BCM5708C NetXtreme II GigE (NDIS
 VBD Client) #2
   Physical Address. . . . . . . . . : 00-1E-4F-31-7D-0C








0
 
LVL 31

Expert Comment

by:Justin Owens
ID: 35151392
Is your server, marknad7, a member of a domain, or a stand alone server?
0
 

Author Comment

by:Hocke_sweden
ID: 35151557
I think its a stand alone server, but Im not 100% sure, can I check it?
0
 
LVL 31

Accepted Solution

by:
Justin Owens earned 2000 total points
ID: 35151628
Yes, you can.  Right-click on your My Computer icon.  Choose Properties.  It will either be in a domain or a workgroup.

Does your hosting company allow loopback routing?  Your internal IP address to that server is 192.168.1.3 but the external IP for your public domain is 91.123.194.31.  This falls within their public subnet.  Your server CAN ping that, but ICMP traffic does not ensure web traffic.  Does the hosting server actually do the processing of the PDF creation?  If so, can you test the server's physical NIC IP in your HOSTS file for "www.marknadskraft.com" and "marknadskraft.com" (two lines, both with a value of 192.168.1.3)?
0
 

Author Comment

by:Hocke_sweden
ID: 35154129
Its in a workgroup!

Does your hosting company allow loopback routing? I don't know, I ask them!


Does the hosting server actually do the processing of the PDF creation? Yes

Now the images is there and I can browse marknadskraft.com in the hosting server when I changed in the hosts file to 192.168.1.3

Thanks DrUltima :)
0
 

Author Closing Comment

by:Hocke_sweden
ID: 35154139
Thanks DrUltima, it took a while to find the problem. But you did it :)
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Question has a verified solution.

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

This may not be a text book method to resolve VSS backup issues but it seemed to have worked on few of the Windows 2003 servers we had issues while performing a Volume Shadow Copy backup. If you have issues while performing a shadow copy backup usin…
Recently, I had the need to build a standalone system to run a point-of-sale system. I’m running this on a low-voltage Atom processor, so I wanted a light-weight operating system, but still needed Windows. I chose to use Microsoft Windows Server 200…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
Suggested Courses

764 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