Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | What a blog?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Computers & IT > Internet Discussion

Internet/Intranet
Reply
 
Thread Tools
Old 30-07-2003, 15:06   #1
TigaSefi
Inactive
 
TigaSefi's Avatar
 
Join Date: Jun 2003
Location: Here
Posts: 2,019
TigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation era
Send a message via MSN to TigaSefi
Internet/Intranet

Right I got a mind bender here. Most ppl outside the router of my linux box would access my website using my domain name which is www.notreal.co.uk (NOT REAL ADDRESS) however my and my gf use loopback on my linux box and my LAN IP on her windows box. Now I am creating a website that gonna cause problem with the links. If i do a link to www.notreal.co.uk/forums and gf clicks it, it ain't gonna go there for her so how do I fix it so it goes there for everyone outside and inside ? Would an Intranet solve it ?
TigaSefi is offline   Reply With Quote
Advertisement
Old 30-07-2003, 15:30   #2
Mr_love_monkey
Inactive
 
Mr_love_monkey's Avatar
 
Join Date: Jun 2003
Location: London way
Age: 49
Services: Sarcasm
Posts: 8,376
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Quote:
Originally posted by TigaSefi
If i do a link to www.notreal.co.uk/forums and gf clicks it, it ain't gonna go there for her so how do I fix it so it goes there for everyone outside and inside ? Would an Intranet solve it ?
Surely if you set your links to be relative it won't matter - i.e. your link should be /forums not www..../forums - so it should resolve
Mr_love_monkey is offline   Reply With Quote
Old 30-07-2003, 15:54   #3
TigaSefi
Inactive
 
TigaSefi's Avatar
 
Join Date: Jun 2003
Location: Here
Posts: 2,019
TigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation era
Send a message via MSN to TigaSefi
yeah I hadn't thought of that.... so what would be the proper formatting ?
TigaSefi is offline   Reply With Quote
Old 30-07-2003, 15:57   #4
Mr_love_monkey
Inactive
 
Mr_love_monkey's Avatar
 
Join Date: Jun 2003
Location: London way
Age: 49
Services: Sarcasm
Posts: 8,376
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Quote:
Originally posted by TigaSefi
yeah I hadn't thought of that.... so what would be the proper formatting ?
well, if I understand your question correctly all you'd need to do is something like :

<a href="forums.htm">forums<a> (or whatever your address is for your page)

you'd also want to include the directory structure as well, if you had one i.e. :

<a href="/forums/forums.html">forums</a> with all of your links being relative from your starting point/index page

if that makes sense?
Mr_love_monkey is offline   Reply With Quote
Old 30-07-2003, 15:58   #5
TigaSefi
Inactive
 
TigaSefi's Avatar
 
Join Date: Jun 2003
Location: Here
Posts: 2,019
TigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation era
Send a message via MSN to TigaSefi
hmmm I'll try that when I get home, thanks. Now I need a pro web designer that'll do it for nowt lol.....
TigaSefi is offline   Reply With Quote
Old 30-07-2003, 16:00   #6
Stuart W
Inactive
 
Stuart W's Avatar
 
Join Date: Jun 2003
Location: E14 9SD
Services: BroadBand 4M
Posts: 619
Stuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to all
Send a message via MSN to Stuart W
You may run into problems like this....

The forum need to know its complete URL, so when people click on things like "New Post" it will be "http://www.notreal.com/forum/index.php?somecodefornewpost"

I'd sugest editing the HOST file in your windows folder

something like 192.168.1.1 www.notreal.com
Stuart W is offline   Reply With Quote
Old 30-07-2003, 16:00   #7
Mr_love_monkey
Inactive
 
Mr_love_monkey's Avatar
 
Join Date: Jun 2003
Location: London way
Age: 49
Services: Sarcasm
Posts: 8,376
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Mr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny starsMr_love_monkey has a pair of shiny stars
Quote:
Originally posted by TigaSefi
hmmm I'll try that when I get home, thanks. Now I need a pro web designer that'll do it for nowt lol.....
feel free to give me a shout/PM if you have any more questions, hopefully I should be able to answer them.
Mr_love_monkey is offline   Reply With Quote
Old 30-07-2003, 16:02   #8
TigaSefi
Inactive
 
TigaSefi's Avatar
 
Join Date: Jun 2003
Location: Here
Posts: 2,019
TigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation era
Send a message via MSN to TigaSefi
Yeah the forums works brillantly as it is now as u can see at www.nonbeanbaggers.co.uk/forums and it does work internally too. I ain't too sure how I did it though but surely just for the index.html the "formatting" as suggested will be fine ?
TigaSefi is offline   Reply With Quote
Old 30-07-2003, 16:08   #9
Stuart W
Inactive
 
Stuart W's Avatar
 
Join Date: Jun 2003
Location: E14 9SD
Services: BroadBand 4M
Posts: 619
Stuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to allStuart W is a name known to all
Send a message via MSN to Stuart W
When at your forum, hover over any link (topic new post etc.) and look at the botom of your browser.... you will see the complete url all the way back to http://

If you edit the HOST file in the Windows folder (Windows\System32 in XP) you can tell your PC to use the local IP address. Your HOST file should already have one entry like:

127.0.0.1 Localhost

Just add yours underneath. Asuming your local IP is 192.168.0.1 you would have:

127.0.0.1 Localhost
192.168.0.1 www.nonbeanbaggers.co.uk
Stuart W is offline   Reply With Quote
Old 30-07-2003, 19:14   #10
birchyboy
cf.member
 
birchyboy's Avatar
 
Join Date: Jun 2003
Location: UK East Midlands
Services: Virgin Media STB; telephone and 10Mb broadband
Posts: 69
birchyboy is on a distinguished roadbirchyboy is on a distinguished road
If you don't know much about the HOSTS file, you can find out how to make or edit one in Win 98 here (a link to the Other Place)

http://www.nthellworld.com/forum/sho...threadid=37741
birchyboy is offline   Reply With Quote
Old 30-07-2003, 19:15   #11
TigaSefi
Inactive
 
TigaSefi's Avatar
 
Join Date: Jun 2003
Location: Here
Posts: 2,019
TigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation eraTigaSefi has entered a golden reputation era
Send a message via MSN to TigaSefi
I fixed the hosts file thanks. It works perfectly. I was just thinking how to do it on linux so i can use the domain address rather than the 127 loopback address ?
TigaSefi is offline   Reply With Quote
Old 30-07-2003, 21:21   #12
wunderlust
(Invalid eMail, Account Suspended)
 
Join Date: Jun 2003
Location: Scotland
Posts: 17
wunderlust is an unknown quantity at this point
Not sure if you've already done it but exact same for linux machine only difference of course is the file, which is

/etc/hosts

if it's the actual machine that's hosting the website just add www.mysite.com to what's already there, ending up something like that

127.0.0.1 www.mywebsite.com localhost.localdomain localhost
wunderlust is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 20:10.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum