Free Republic
Browse · Search
General/Chat
Topics · Post Article

Skip to comments.

Computer/Website (vanity) question
me

Posted on 12/08/2012 4:55:34 PM PST by RangerM

I have a private website that I want my employees to be able to use for company information, however since it is not public, and not tied to the internet, the use of an outside DNS is not possible.

I'd still prefer my employees reach the site using "www.mysite.com", but without the DNS, I'm not sure the best way this is possible. The best way I can think of is to append the client computers HOSTS file to point to the internal address, however I'd rather not have to do this with every client computer. Is there a way to have an internal DNS, and would it be worth it, since I'd only use it for a single domain name?


TOPICS: Computers/Internet
KEYWORDS:
Thanks in advance.
1 posted on 12/08/2012 4:55:38 PM PST by RangerM
[ Post Reply | Private Reply | View Replies]

To: RangerM; rdb3; Calvinist_Dark_Lord; Salo; JosephW; Only1choice____Freedom; amigatec; stylin_geek; ..

2 posted on 12/08/2012 4:58:56 PM PST by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

Are you using active directory?


3 posted on 12/08/2012 4:59:29 PM PST by Future Snake Eater (CrossFit.com)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM; rdb3; Calvinist_Dark_Lord; Salo; JosephW; Only1choice____Freedom; amigatec; stylin_geek; ..

4 posted on 12/08/2012 4:59:44 PM PST by ShadowAce (Linux -- The Ultimate Windows Service Pack)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

There is a file in your windows called “hosts.” (no extension). If it isn’t there, there is a file called “hosts.sam”

Edit this file (it maps numeric IP addresses to names) and have everyone install it to their system drive — if you used the “hosts.sam” example file, make sure you name it “hosts.”

I am assuming you are Windows based.


5 posted on 12/08/2012 5:00:39 PM PST by freedumb2003 (Here comes bama claus here comes bama claus left down bama claus lane!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

Its simple, first step is call your IT guy.

Don’t mean to be rude but thats probably easiest. You need a server with a web server running.


6 posted on 12/08/2012 5:00:54 PM PST by driftdiver (I could eat it raw, but why do that when I have a fire.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

OOpps — I solved your problem, then read the whoe thing.

If you are already onto hosts then you might have to setup a DNS controller on one of the workstations on your network.


7 posted on 12/08/2012 5:02:03 PM PST by freedumb2003 (Here comes bama claus here comes bama claus left down bama claus lane!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

You should be able to have the DNS point to an internal IP address. So if it’s at mysite.com pointing to an IP 10.0.0.1, it should only be reachable inside of your network but not outside of it.

This is all on the assumption that you have an internally based web server.


8 posted on 12/08/2012 5:02:17 PM PST by Txngal
[ Post Reply | Private Reply | To 1 | View Replies]

To: Future Snake Eater

Forgive my ignorance, but I don’t understand the question.

The server is Apache (running on XP), that allows me to provide employee information, but also allows PHP uploads (for timesheets). It’s entirely self-made.


9 posted on 12/08/2012 5:03:09 PM PST by RangerM
[ Post Reply | Private Reply | To 3 | View Replies]

To: freedumb2003

The two constants on the network are the router and the server. The clients can vary because they are all laptops.

I’d have to run the DNS on the Apache server itself, I guess. I think there is a DNS module in Apache, although I have no experience with this.


10 posted on 12/08/2012 5:11:53 PM PST by RangerM
[ Post Reply | Private Reply | To 7 | View Replies]

To: RangerM

Put your website into a protected folder. For example:

www.mywebsite.com/protectedfolder

When your users hit the web site inside the protected folder they will be prompted for a user name and password.

Lots of ways to do this, including putting that protected folder on a completely different server.

I know what you want to do but I just don’t have enough info in front of me to explain the whole thing.


11 posted on 12/08/2012 5:22:08 PM PST by unixfox (Abolish Slavery, Repeal The 16th Amendment!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

OK, gotcha. If I understand the issue correctly, you’re looking to set up an internal DNS for Apache. Worst case, you just need a simple script to update your clients’ host file.


12 posted on 12/08/2012 5:22:51 PM PST by Future Snake Eater (CrossFit.com)
[ Post Reply | Private Reply | To 9 | View Replies]

To: Future Snake Eater

Wrong. He needs to pat his tummy while rubbing his head and hopping on one foot. Everyone knows that. Get with it.


13 posted on 12/08/2012 5:42:31 PM PST by RightOnline (I am Andrew Breitbart!)
[ Post Reply | Private Reply | To 12 | View Replies]

To: RangerM

You can look into dynamic dns providers.. there are several that are free. I have used them and it is an easy setup and it looks just like a “real” webserver.


14 posted on 12/08/2012 5:45:24 PM PST by vet7279
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

Setup a server using Linux (free). The hardware can be an old box, a white box or a state of the art server, depending on your needs.

Unless you have thousands of employee’s the old or white box would be fine.

Setup Apache, DNS. Have your DHCP server push down the internal DNS server to the workstations. If you don’t have a DHCP server then you will need to set one up.

If all this is too complicated then call your IT Guy. He probably could use the work.


15 posted on 12/08/2012 6:10:20 PM PST by desertfreedom765
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

Is anything within the workplace network providing DHCP services? If so, that computer/appliance might also have the ability to provide name resolution with support for static entries.

Do an ipconfig /all on one of the workstations to get info about any configured DNS servers.


16 posted on 12/08/2012 6:52:36 PM PST by Gene Eric (Demoralization is a weapon of the enemy. Don't get it, don't spread it!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

Is it an option to address the name of the machine?

http://my_website_server

The name of the server may already be resolving on your network.


17 posted on 12/08/2012 6:59:24 PM PST by Gene Eric (Demoralization is a weapon of the enemy. Don't get it, don't spread it!)
[ Post Reply | Private Reply | To 1 | View Replies]

To: RangerM

Can you use a private static IP for it?


18 posted on 12/08/2012 8:34:02 PM PST by IllumiNaughtyByNature ($1.84 - The price of a gallon of gas on Jan. 20th, 2009.)
[ Post Reply | Private Reply | To 1 | View Replies]

To: Gene Eric

You mean like “new view” (command line) to view the machines on the network?

I’m assuming that it would show up, but can you “surf” to a machine by using its name? I’ve never heard of that.


19 posted on 12/10/2012 5:47:15 AM PST by RangerM
[ Post Reply | Private Reply | To 17 | View Replies]

To: IllumiNaughtyByNature

Yes. The server has a static IP. 192.168.0.100.

I can get to it using the IP, but not the name “mysite.com”.


20 posted on 12/10/2012 5:49:35 AM PST by RangerM
[ Post Reply | Private Reply | To 18 | View Replies]

To: RangerM

The name of target PC hosting your intranet might already be advertised on your LAN. If you can ping it by its name, good chance you can access the web server by that name without any additional name resolution services.

Let’s say the name of the computer hosting your internal website is: webserver. If from another PC you can ping webserver, then you can very likely ‘surf’ to it assuming there’s a web service like Apache or IIS currently running on the box.

To ping from a “DOS” command window:

ping webserver

To ‘surf’ from a web browser:

http://webserver


21 posted on 12/10/2012 6:07:21 PM PST by Gene Eric (Demoralization is a weapon of the enemy. Don't get it, don't spread it!)
[ Post Reply | Private Reply | To 19 | View Replies]

Disclaimer: Opinions posted on Free Republic are those of the individual posters and do not necessarily represent the opinion of Free Republic or its management. All materials posted herein are protected by copyright law and the exemption for fair use of copyrighted works.

Free Republic
Browse · Search
General/Chat
Topics · Post Article

FreeRepublic, LLC, PO BOX 9771, FRESNO, CA 93794
FreeRepublic.com is powered by software copyright 2000-2008 John Robinson