Link to home
Start Free TrialLog in
Avatar of Hocke_sweden

asked on

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

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?

Avatar of Justin Owens
Justin Owens
Flag of United States of America image

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.

Avatar of Hocke_sweden


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!

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!
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.
Sorry "web hotel" = web hosting!

I have a pdf component,, 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:
Image: MSXML2::ServerXMLHTTP Error: The attempt to connect to the server

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

Its a server hosting, we have our own web server (rent), with some domains on, for example,
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?
Any tip how I can make it?
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?

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)

We have a pdf componet who is installed on the same server, and it need to get the images from on the same server

You understand my problem? Or Im unclear :)

So, do you have control of the settings on the host server?  If so, you can place a static IP address for to 127.0.01 or its own assigned IP address into your HOSTS file.  If you PING from the remote server, does it reply with the correct IP address (assigned to the NIC or loopback)?
Yes I have all controll of the host server!

 I changed the host file here
I tried with both and the real IP address, the same result!

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

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?
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!
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.

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


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

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



OK... And when you


Do you get a reply from that same IP address?  Is the AD domain name to which your remote server belongs?
Yes its the same IP address! Yes is the remote server belongs

C:\Documents and Settings\Administrator>ping

Pinging [] with 32 bytes of data:

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

Ping statistics for
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 0ms, Maximum = 0ms, Average = 0ms
So, the FQDN of that server is

Does an NSLOOKUP of yield the same IP address?
I think is the FQDN, but Im not 100% sure, I haven't installed it from scratch! How can I check it? NSLOOPUP give the same Ip address
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  . . . . . . . :
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. . . . . . . . . . . . :
   Subnet Mask . . . . . . . . . . . :
   Default Gateway . . . . . . . . . :
   DNS Servers . . . . . . . . . . . :

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

Is your server, marknad7, a member of a domain, or a stand alone server?
I think its a stand alone server, but Im not 100% sure, can I check it?
Avatar of Justin Owens
Justin Owens
Flag of United States of America image

Link to home
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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 in the hosting server when I changed in the hosts file to

Thanks DrUltima :)
Thanks DrUltima, it took a while to find the problem. But you did it :)