Solved

LAN Server domain myserver.project1

Posted on 2013-12-18
1
374 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 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

What Is Transaction Monitoring and who needs it?

Synthetic Transaction Monitoring that you need for the day to day, which ensures your business website keeps running optimally, and that there is no downtime to impact your customer experience.

Question has a verified solution.

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

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…
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
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…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

728 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