Welcome to WebmasterWorld Guest from 54.167.85.221

Forum Moderators: buckworks & webwork

Message Too Old, No Replies

How to launch the website out.

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

     

junkiet

3:24 am on Oct 31, 2008 (gmt 0)

5+ Year Member



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

3:46 am on Oct 31, 2008 (gmt 0)

5+ Year Member



No one will answer this? :(

JS_Harris

4:34 am on Oct 31, 2008 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member



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

4:58 am on Oct 31, 2008 (gmt 0)

5+ Year Member



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

4:40 pm on Oct 31, 2008 (gmt 0)

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



/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.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month