?
Solved

LAN Server domain myserver.project1

Posted on 2013-12-18
1
Medium Priority
?
383 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 10

Accepted Solution

by:
acbxyz earned 2000 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

WordPress Tutorial 4: Recommended Plugins

Now that you have WordPress installed, understand the interface, and know how to install new parts, let’s take a look at our recommended plugins.

Question has a verified solution.

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

In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
Set up iPhone and iPad email signatures to always send in high-quality HTML with this step-by step guide.
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…

771 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