logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: V host resolves locally but not from a proxy or externally??
Author
leecooper2013



Joined: 04 Oct 2014
Posts: 25
Location: uk, leicester

PostPosted: Thu 11 Dec '14 1:14    Post subject: V host resolves locally but not from a proxy or externally?? Reply with quote

Hi i am hosting 2 sites www.guildwebsites.co.uk and www.aaconsolesandcomputers.co.uk . From an external source I can get www.aaconsolesandcomputers.co.uk to resolve from anywhere, but www.aaconsolesandcomputers.co.uk will only resolve locally, even though both dns records point to my ip address

Windows Hosts file is as follows

# For example:
#
# 102.54.94.97 rhino.acme.com # source server
# 38.25.63.10 x.acme.com # x client host

# localhost name resolution is handled within DNS itself.
# 127.0.0.1 localhost
# ::1 localhost
127.0.0.1 www.aacomputersandconsoles.co.uk
127.0.0.1 www.guildwebsites.co.uk

Apaache virtual host reads as follows

<VirtualHost *:80>
DocumentRoot "E:/xampp/htdocs"
ServerName localhost
</VirtualHost>

<VirtualHost *:80>
ServerAdmin lee_cooper2007@hotmail.co.uk
DocumentRoot "E:/xampp/htdocs/aacomputersandconsoles"
ServerName aacomputersandconsoles.co.uk
ServerAlias www.aacomputersandconsoles.co.uk
ErrorLog "logs/aacomputersandconsoles.co.uk-error.log"
CustomLog "logs/aacomputersandconsoles.co.uk-access.log" common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin lee_cooper2007@hotmail.co.uk
DocumentRoot "E:/xampp/htdocs/guildwebsites"
ServerName guildwebsites.co.uk
ServerAlias www.guildwebsites.co.uk
ErrorLog "logs/guildwebsites.co.uk-error.log"
CustomLog "logs/guildwebsites.co.uk-access.log" common
</VirtualHost>

Index.html is located in both the referenced locvations. ANY IDEAS???? Sad
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 11 Dec '14 7:59    Post subject: Reply with quote

No they do not and it is obvious why.
Using nslookup at the command line we see
The first works because it points to your IP.

> www.aacomputersandconsoles.co.uk
Name: www.aacomputersandconsoles.co.uk
Address: 86.2.155.117

These however point to some other IP.

> www.aaconsolesandcomputers.co.uk
Name: www.aaconsolesandcomputers.co.uk
Address: 92.242.140.2

> www.guildwebsites.co.uk
Name: www.guildwebsites.co.uk
Address: 92.242.140.2

> 92.242.140.2
Name: unallocated.barefruit.co.uk
Address: 92.242.140.2

How long ago did you make changes to the DNS?
Sometimes it can take awhile to propagate.

Also note: there's consolesandcomputers and computersandconsoles ... the latter is the working one and I see nothing in your config for the former. The former however wouldn't work anyway with the 92.242.140.2 IP.
Back to top
leecooper2013



Joined: 04 Oct 2014
Posts: 25
Location: uk, leicester

PostPosted: Thu 11 Dec '14 8:59    Post subject: Reply with quote

I changed the www A record weeks ago.
when i check with uk-cheapest DNS Manager both www A records point to my ip address
Back to top
glsmith
Moderator


Joined: 16 Oct 2007
Posts: 2268
Location: Sun Diego, USA

PostPosted: Thu 11 Dec '14 9:14    Post subject: Reply with quote

Then I guess you need to ask them why it's not propagating.
Back to top
leecooper2013



Joined: 04 Oct 2014
Posts: 25
Location: uk, leicester

PostPosted: Thu 11 Dec '14 9:27    Post subject: Reply with quote

thanks
Back to top


Reply to topic   Topic: V host resolves locally but not from a proxy or externally?? View previous topic :: View next topic
Post new topic   Forum Index -> Apache