Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Having trouble making a website visable
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Tue Sep 29, 2009 5:50 pm    Post subject: Having trouble making a website visable Reply with quote

ok, so I'm trying to move my blog to a host I have control over. right now i've been trying to place it on a friends server. eventually i'll mirror it on my server. both boxes are gentoo.

so far i have done:

created a CNAME entry of life.asisee.it at my registars site
edited vhost file
copy example index.html (for testing) to /home/nqs/www/
modified registar A entry to point to my freinds server (24.113.82.185)

I've been asked not to modify bind on my frends server, having been told the registar should be able to forward all requests for my domain to the correct ip, where virtual host would then forward it to the actual site.

however, in testing, life.asisee.it just gives me a parking page, and I get 404's when trying to hit /asiseeit, /nqs /home/nqs and /home/nqs/www, using either domain mac.isa-geek.org or triad.ath.cx (the former being the testing / backup version of the latter)

can anyone tell me what i am either doing wrong, or have failed to do?

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Thu Oct 01, 2009 5:17 pm    Post subject: Reply with quote

Just an update on this, http://life.asisee.it now redirects to the home page of my freinds server, so now i just need to figure out how to get it to the correct path

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
desultory
Bodhisattva
Bodhisattva


Joined: 04 Nov 2005
Posts: 9410

PostPosted: Fri Oct 02, 2009 3:20 am    Post subject: Reply with quote

At the risk of posing a silly question, what did you do to get it pointed at the server it points to now?
Back to top
View user's profile Send private message
NotQuiteSane
Guru
Guru


Joined: 30 Jan 2005
Posts: 488
Location: Klamath Falls, Jefferson, USA, North America, Midgarth

PostPosted: Fri Oct 02, 2009 5:44 am    Post subject: Reply with quote

well, since i've only done what was listed, i think the 1st and last items above, then perhaps it had to propagate (is that the right word?) through the dns servers?

NQS
_________________
These opinions are mine, mine I say! Piss off and get your own.

As I see it -- An irregular blog, Improved with new location

To delete French language packs from system use 'sudo rm -fr /'
Back to top
View user's profile Send private message
cazort
Guru
Guru


Joined: 19 Sep 2004
Posts: 343
Location: Lancaster, PA

PostPosted: Fri Oct 02, 2009 8:52 pm    Post subject: Reply with quote

NotQuiteSane wrote:
well, since i've only done what was listed, i think the 1st and last items above, then perhaps it had to propagate (is that the right word?) through the dns servers?

NQS


You don't ever have to wait for DNS propagation...just edit /etc/hosts and put a line in and that will override anything received from the DNS, so you can test the server from your computer ASAP without the delay. This is also useful if you want to test a server's virtual host settings before you actually change the DNS to point to it.
_________________
Alex Zorach | Teacology | RateTea | Why This Way
Back to top
View user's profile Send private message
n3bul4
Apprentice
Apprentice


Joined: 04 Nov 2003
Posts: 187

PostPosted: Sat Oct 03, 2009 12:10 pm    Post subject: Reply with quote

Another way to test vhost settings would be to issue a:

Code:

# telnet ipofthehost 80
Trying ipofthehost...
Connected to ipofthehost.
Escape character is '^]'.
GET / HTTP/1.0\n
Host: some.vhost.com\n
\n

some output.....


This will give you the needed infos...

regards
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum