Solved

LAN Server domain myserver.project1

Posted on 2013-12-18
1
366 Views
Last Modified: 2013-12-27
Hello, I have a server working on Apache and now I can access each project through the URL http://myserver/proyect1, http://myserver/proyect2 and so on,  where myserver is the root, but I want it to look and work this way http://myserver.proyect1 where myserver.proyect1 is the root folder for that project.

My server is running on Mac OS 10.8 with XAMPP.

Thanks.
0
Comment
Question by:ivanblue
1 Comment
 
LVL 10

Accepted Solution

by:
acbxyz earned 500 total points
ID: 39739404
From a DNS point of view project1.myserver.mynetwork.local would be the better choice.
In your case, "myserver" can be found via your local dns server (build in internet router most times) or broadcast.
Excursion: In domain name context the most global part is on the right and it becomes more specific the further you go to the left. .local as toplevel-domain is reserved for private purpose.

To have other names be found you need either a configurable dns server or add all other names to the hosts-file of your client(s). (/etc/hosts or %WINDIR%\sytem32\etc\drivers\hosts). After this is done all those names direct to your apache.
In your apache config have a look at virtual hosts. Most distributions have their specific examples. I don't know XAMPP that far but it should come with example configs, too.
0

Featured Post

Save on storage to protect fatherhood memories

You're the dad who has everything. This Father's Day, make sure your family memories are protected. My Passport Ultra has automatic backup and password protection to keep your cherished photos and videos safe. With up to 3TB, you have plenty of room to hold the adventures ahead.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Apple's Mac OS X has become an official member of the malware club. The Flashback Trojan has affected over half million Macs, worldwide. It is behavior that ultimately gets malware onto a person’s computer. Obsolete or out-of-date software helps…
In this article we discuss how to recover the missing Outlook 2011 for Mac data like Emails and Contacts manually.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now