homepage Welcome to WebmasterWorld Guest from 54.242.241.20
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / WebmasterWorld / Domain Names
Forum Library, Charter, Moderators: buckworks & webwork

Domain Names Forum

    
How to launch the website out.
How to lunch the website because it is now can be seen in linux /etc/hosts
junkiet

5+ Year Member



 
Msg#: 3777239 posted 3:24 am on Oct 31, 2008 (gmt 0)

Hi Master,

Any one who knows how to launch the website, now i set it in /etc/hosts, and it just can be shown.

Now how do I make it launch out, so that other visitors can see that website.

someone who can help me, I will be graceful. Thanks!

 

junkiet

5+ Year Member



 
Msg#: 3777239 posted 3:46 am on Oct 31, 2008 (gmt 0)

No one will answer this? :(

JS_Harris

WebmasterWorld Senior Member 5+ Year Member



 
Msg#: 3777239 posted 4:34 am on Oct 31, 2008 (gmt 0)

You need to have an index page in the root directory.

It sounds like you've done some work and your files are in /etc/hosts, you'll need to have the main page be in www.example.com/index, if all your site files are in www.example.com/etc/hosts then nobody can see them.

Thats my best advice based on what you've written here.

junkiet

5+ Year Member



 
Msg#: 3777239 posted 4:58 am on Oct 31, 2008 (gmt 0)

Thanks, it is not the answer i wanted.

This means, I set IP like vi /etc/hosts, in my local linux terminal command.

Then i can see it in my firefox, but for someone who doest set it in /etc/hosts in their own pc, then they still can view it but that is not the exact site I want to see (because we meet the same domain name)

So now, how can I do that?
- can do any alias to point to it, but how to do it? any idea?

encyclo

WebmasterWorld Senior Member encyclo us a WebmasterWorld Top Contributor of All Time 10+ Year Member



 
Msg#: 3777239 posted 4:40 pm on Oct 31, 2008 (gmt 0)

/etc/hosts is only local to your machine.

Your domain registrar may provide DNS services, if not then you will either need a third-party DNS service or run a DNS server yourself. Then you configure your domain name to use your nameservers, which in turn send requests to your IP address. Those requests are handled by the Apache installation on your server.

I would recommend first seeing if your domain registrar can set this up for you.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Domain Names
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved