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?

Hocke_swedenAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
Justin OwensConnect With a Mentor ITIL Problem ManagerCommented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Hocke_swedenAuthor Commented:
Any tip how I can make it?
0
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
Server:  ns1.citynetwork.se
Address:  91.123.193.2

Name:    marknadskraft.com
Address:  91.123.194.31
0
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
So, the FQDN of that server is servername.marknadskraft.com?

Does an NSLOOKUP of www.marknadskraft.com yield the same IP address?
0
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
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
 
Hocke_swedenAuthor Commented:
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
 
Justin OwensITIL Problem ManagerCommented:
Is your server, marknad7, a member of a domain, or a stand alone server?
0
 
Hocke_swedenAuthor Commented:
I think its a stand alone server, but Im not 100% sure, can I check it?
0
 
Hocke_swedenAuthor Commented:
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
 
Hocke_swedenAuthor Commented:
Thanks DrUltima, it took a while to find the problem. But you did it :)
0
All Courses

From novice to tech pro — start learning today.