How can I reset my web server settings to factory default without reinstalling the operating system?

I have a MacBook Air that has been upgraded over time from OS to OS. I'm currently running Yosemite.
I don't have any issues with the computer, it is running fine. Over the years, however, I've tinkered around with the server in different ways (the apache and php that shipped with OS X, MAMP, and with NGINX) and when I went to get back into some development it seems as though there's some conflicts.
What I'd love to do (assuming it is possible) is reset all of the web server's factory settings so I can just move forward from that point (Apache, PHP, MySQL, etc.).
I saw there was a terminal command for OS X Server that allows you to reset all of the server settings to how it came from the factory.
Is there a similar command that works for non-OS X Server or a utility that can restore the web server settings?

there probably is a way, but the success rate would be fairly low. you say you don't want to reinstall the OS, why? you know that reinstalling it keeps all your files and settings as they are, while resetting system files? (OS X Mavericks: Reinstall OS X)

Similar Messages

  • How can I set up Mavericks Server on a Test Mac without affecting the production server

    I have Mountain Lion server running as on an xserve as our main server, it has developed a few issues particularly related to Profile Manager and Certificates.
    So I was going to use the move to Mavericks as an opportunity to have a fresh start.
    So I want to set up Mavericks Server on a mac mini temporarily to test it and configure all the services before moving it to the Xserve as the main server.
    My question is what is the best way to do this, obviously I can't use the same IP or hostname as the main server if it is connected to the network, and some services can't be set up without a network connection.
    So do I give it a new IP and hostnmame for now and then change it later on, my concern is that changing the hostname might cause issues down the line.
    So what is the best way to set up a fresh server in preperation as a drop in replacement of the current server?

    Ok I got the test server set up fine and cloned it over to a spare partition on the Xserve.
    But when I booted into the new partition several things broke.
    1st the IP address changed itself despite the fact it is set to Manual, The Alert section of Server.app let me repair this.
    Profile Manager no longer worked, the web page just said Profile manager could not be found, was working fine on the test mac
    Tried deleting the OD master and resetting Profile Manager but it still didn't work.
    DNS needed repairing and restarting
    I decided at that point to abandon it and go back to the test mac where everything is still working.
    Any tips for overcoming these issues.
    I have thought maybe it would be best to turn off all server services before making the clone and then turn them on one at a time once it has been restored to the new partition on the xserve
    Also if the certificates that are created when making an OD master were made on the mac mini does that cause a problem when it has been restored to a different machine, should I leave OD off and just set it up when it is in its final place?

  • How can I stop my Macbook from going to sleep whilst I load the operating system (10.5) on?

    I'm trying very unsuccessfully to reinstall the system from scratch, so that I have a clean computer. I'm starting with 10.5 and then going to upgrade in increments from that to the last operating system the computer will run, which is 10.6.8.
    Firstly I've wiped the hard disk in Disk Tools and then started it up from the master disk of 10.5, and its telling me it will take 64 hours and some minutes to install, so I can't keep moving the mouse to stop it going to sleep for that long.
    I know it sounds as though something is wrong, but I have run both Disk Tools and Tech Tool Pro through it and both say there's nothing wrong with either the computer or the hard disk, and it was running fine (if slow - but that's its age!) prior to this clean install.
    This computer is the first of the intel Macbooks and is a single core intel processor with 1gb of Ram.
    What I need to do is to stop it going to sleep during the install, as every time it does it just halts the install and over night, for instance, I'm no further forward than I was the night before, even though I left it going all night.
    All I'm trying to do is get it to 10.6.8 so that I can run Bootcamp on it and turn it into a PC to do my accounts (and no, the software we use only runs on PC, but Paralles, VMWare Fusion etc still make it painfully slow to use, and It's bad enough having to do accounts without having to wait for it to do every move...)
    I can't go straight to 10.6 as the only copies we have of this are "drag and drop" upgrades that Apple supplied with 3 of our other Macs. Also the computer won't read dual layer DVDs (too old) so I can't load the full copy we have made of the OS.

    It's simply called Photos and there is no options/setting thing on it. I have windows 8, it's a stand alone photo library viewer.

  • How can I tell if a iPhone 4 is factory unlocked without breaking the seal?

    Hey guys
    A friend of mine brought in some iPhone 4s and he "claims" they are factory unlocked. Im going by his place tomorrow to see if they are because I'd like to purchase one. Is there any specific number or code on the box to tell if it is factory unlocked? Id hate to pay for it to find out that it's not.
    Thanks.

    The only way to know is to go to a place that is actually authorized to sell factory unlocked phones. More than likely your friend has bought hacked phones that he is looking to resell for a profit.
    Also, the warranty is only valid in the country of origin. If these phones came from anywhere else, you will need to take the phone back to that country if you have any issues.

  • How can I reset My Number in settings-phone-my number

    how can I reset My Number in settings-phone-my number

    Just tap on "My Number" and you will get an edit screen

  • I messed my color sync profile up. How can I reset my color sync profile to factory settings?

    I messed my color sync profile up. How can I reset my color sync profile to factory settings?
    Core 2 Duo, OS Lion (not mountain)

    Hi, yes, I messed it up by trying to edit it.
    I just clicked configure and changed the options. Is there a factory setting I can reset it to?
    The problem when I try to get it back to normal is that it never looks just like it did. It looks mainly fine, but things like light blues look wrong.

  • HT5576 How can I reset my password if I no longer have access to the email account on file and cannot remember the answers to the security questions?

    How can I reset my password if I no longer have access to the email account on file and cannot remember the answers to the security questions?

    Reset security questions
    http://support.apple.com/kb/HT5312
    If you do not have a Rescue email, you need to call/email apple support, they will guide you through the process of resetting your security questions.
    http://support.apple.com/kb/HE57

  • My wife and I share a computer for our itunes accounts. How can we copy our music libraries to each others accounts without erasing the original library? We want to merge our songs.

    My wife and I share a computer for our itunes accounts. How can we copy our music libraries to each others accounts without erasing the original library? We want to merge our songs.

    If the music is on the same computer, import the songs to your iTunes library by dragging them into iTunes or choosing File > Add to Library (Mac) or File > Add File to Library or Add Folder to Library (Windows).  If the music is on different computers you can set up Home Sharing to copy the music from one library to the other (see http://support.apple.com/kb/HT3819 and http://support.apple.com/kb/HT4620).

  • How can I sync my iphone songs to a new library without losing the songs on my iphone. I no longer have access to the old library as it was on a company computer that I no longer work for.

    how can I sync my iphone songs to a new library without losing the songs on my iphone. I no longer have access to the old library as it was on a company computer that I no longer work for.

    Third Party software do a google search

  • TS1702 After installing the new software to my iPhone 4S , my dream zoo either will not start or when it does it has a blank screen that has a few icons on it that wont work. How can I fix this is it possible to go back and reinstall the older software ?

    After installing the new software to my iPhone 4S , my dream zoo either will not start or when it does it has a blank screen that has a few icons on it that wont work. How can I fix this is it possible to go back and reinstall the older software ?

    Unfortunately I tried that and it didn't work. Thanks for the help though. I tried to uninstall and it said I couldn't because the file is corrupt or something, but I think I finally got it uninstalled and/or deleted or whatever, but now I try to reinstall/download it again from the beginning and I can't. No matter what I do I can not get Firefox working again. No matter how many times I try to redownload it. Any other suggestions?

  • I backed up two Iphones to the cloud and accidentally chose merge. How can I reset it to have seperate backups for each phone with the same ITUNES login?

    I backed up two Iphones to the cloud and accidentally chose yes to merge the contacts from the two phones. How can I reset it to have seperate backups for each phone even though I am using the ITUNES login?

    i merged two phones contracts are together how to get back to seperate

  • How do I reset my Windows 10 computer to factory defaults?

    QuestionHow do I reset my Windows 10 computer to factory defaults?
    AnswerNote: This article describes resetting a Windows 10 computer to factory defaults. You can read separate articles on performing something similar in Windows 8 or Windows 7.
    A system reset will remove your installed applications and rebuild the Windows 10 system files.
    You can choose whether you want to keep your files or remove everything.
    If you choose to keep your files, your applications will be removed, system settings will be reset, and Windows files will be rebuilt. Your data and documents will remain intact on your computer.
    If you choose to remove everything, your data and documents will also be removed.
    To learn what other recovery options are available to you in Windows 10, read the following article:
    What recovery options are available in Windows 10?
    To perform a reset, follow these steps:
    Open the Start Menu and select Settings.
    Select Update & security and then Recovery.
    Under Reset this PC, select Get started.
    Choose either Keep my files or Remove everything. If you choose to remove everything, you might be given the choice of resetting all drives and partitions or resetting only the one on which Windows is installed. Choose the option you prefer. Not everyone will see this selection.
    You might also see additional options depending on whether Windows 10 came pre-installed on your computer or if you upgraded to Windows 10. Choose the options you prefer and follow the prompts to complete the reset.
    You can also watch this video explaining how to do this:

    Hi there,
    A full factory reset may not be required. Try downloading and running the print and scan doctor located here:
    http://h10025.www1.hp.com/ewfrf/wc/document?docname=c03275041&cc=us&dlc=en&lc=en
    It can fix a lot on its own and if not give a better idea of what is going on.
    Best of Luck!
    You can say thanks by clicking the Kudos Star in my post. If my post resolves your problem, please mark it as Accepted Solution so others can benefit too.

  • How can I save an indd file as an idml file without opening the document?

    I cannot open an InDesign file that was made in a later version of InDesign because I don't have the right plugins. How can I convert this indd file to an idml file without opening it?

    Well..... sort of depends on your version.
    If you have any version as part of CC subscription, the latest updates are supposed to be using a cloud-based service to generate the IDML for you so that you can open the newer files seamlessly.

  • Ipad 1 takes days and still unable to reset all data and settings to factory default

    ipad 1 takes days and still unable to reset all data and settings to factory default

    Something is not right, it should not take more than 15 minutes.
    Try reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • How can I print a full page 8.5x11 photo using mg2520? My operating system in windows 8

    I am currently running windows 8 and using a canon pixma mg 2520 and cannot print full size 8.5x11 prints.  I can print 4x6 but would like to print full size pictures...please help!!!!!!!!!!1

    Hi kvsalazar24,
    There is a program that comes with the printer named Easy-PhotoPrint EX that can assist you with printing photos.  If you do not have the program installed, it can be downloaded from the Canon USA website.  Please click here to go to the Drivers and Software page for the PIXMA MG2520.  Once on the initial download page for your model, please do the following:
    1. Verify that the operating system detected in the "OPERATING SYSTEM" drop-down menu is correct, and if it is not, please click the drop-down menu to select your operating system.
    2. Next, please click on the red arrow next to the "SOFTWARE" section and click the Easy-PhotoPrint EX file.  When you do, a red DOWNLOAD button will appear. Please click on the checkbox below the DOWNLOAD button, then click the red DOWNLOAD button to begin the download. The time for the download process may vary depending on the speed of your Internet connection and the size of the file being downloaded.
    Once you have downloaded the file, please double-click on it and follow the prompts to install the program on your computer.  
    Once the program is installed, please follow these steps to print a photo:
    1. Open Easy-PhotoPrint EX.
    2. Once inside of the application, you will see a folder structure on the left-hand side where you can select a photo or image. Please navigate to the location of the photo/image you would like to print. When you do, all available images in that location should appear in the right pane of the window. Please note: If a screen appears with options to Photo-Print, Create an Album, Sticker Print, etc., please select the PHOTO-PRINT option to view the area with the folder structure.
    3. Underneath each of the photos appearing in the right pane of the window, you will see a n up and down arrow, as well as a "0". Please click the UP arrow once underneath the image you would like to select, then click the PAPER SELECTION tab at the top of the window.
    4. On the PAPER SELECTION TAB, please select the PRINTER, PAPER SOURCE, PAPER SIZE, and MEDIA TYPE, then click the LAYOUT/PRINT tab at the top of the window.
    5. Please select the desired layout from the left-hand pane of the window. When you do, a preview of what the image should look like when printed will appear in the right-hand pane of the window.
    6. Once you have selected a layout, please click the PRINT button. The photo/image should print.
    If you still experience difficulty, please call or email us using one of the methods on the Contact Us page for further assistance.
    Did this answer your question? Please click the Accept as Solution button so that others may find the answer as well.

Maybe you are looking for