Creating multiple virtual hosts on localhost failed

For developing a website I want to setup some virtual hosts on the localhost of the OS X Server.
Trying to setup them up via "Services -> Websites -> [+]" failed because the domain name won't be resolved.
I creates a virtual host called "thewebsite.site" some time ago - this virtual host works well although the bullet next
to the "thewebsite.site" within the domain name imput fields actually shows red (for my complete irritation it sometimes
the bullet turns to green for a while - I don't know why and when because I changed nothing)

Thanks for your explainations but it keeps frustrating me. I'll try to give an exact overview to my settings and my tries to implement your suggestions:
Computer name: MacBook Pro
Host: server.local
Wi-Fi: 192.168.178.100 (static, as I said no DHCP)
DNS-Settings:
Forwarding Servers: 192.168.178.100
Perform lookups for only some clients: "The server itself" and "Clients on the local network"
Host name: server.local
IP address: 192.168.178.100
(no aliases)
automatically created after setting this host name:
     Primary zone: server.local
     Machine: zone: server.local, host name: server.local, IP address: 192.168.178.100
     Nameserver: zone: server.local, Name-server: server.local
Now I create a new host:
Host name: thenewwebsite.site
IP address: 192.168.178.100
(no aliases)
automatically created after setting this host name:
     Primary zone: thenewwebsite.site
     Machine: zone: thenewwebsite.site, host name: thenewwebsite.site, IP address: 192.168.178.100
     Nameserver: zone: thenewwebsite.site, Name-server: thenewwebsite.site
Now going to "Web" service:
hit the [+] button
domain-name: thenewwebsite.site
--> and it gives me the red bullet again saying it could not resolve this and trying to load "thenewwebsite.site" from the browser consequently fails.
I also tried to set the machine-zone and the nameserver-zone for the thenewwebsite.site host to server.local - didn't changed anything, loading "thenewwebsite.site" fails.
Designed in California, designed to make ist easier ??? huu ???

Similar Messages

  • Oracle Portal Virtual Host Enhacement for Multiple Virtual Hosts

    I open the TAR Number: 4326752.996
    The TAR is related to " REQUEST ASSISTANCE FOR MULTIPLE VIRTUAL HOSTS AND MULTIPLE PAGE GROUPS CONFIG. "
    This is the Scenario: We Have Oracle Portal installed in a single Box. yes I know I know... but Not everybody is Yahoo or Google for Clusters and all the good stuff, we just want our website managed by Oracle Portal since all our ERP is running Oracle Database. Anyway. 1 Box running Oracle Portal Infrastructure and MidTier.
    It turns out that our previous configuration we have the LAMP Solution with PHP, Apache with Virtual Servers configuration very trivial for a regular web server however we have about 6 Virtual domains.
    For example:
    www.abc.com
    www.def.com
    www.ghi.com
    www.jkl.com
    www.mno.com
    www.pqr.com
    We also like to post all our Intranet Information in this great Portal:
    http://intranet.com
    Where intranet.com is the same server but setup in our Internal DNS without be a Real Internet Register Domain.
    So bottom line we start doing great with Install our single box install, later [GRRRRRR does not come by default in port 80 GRRRRRR, ok need to move and setup the virtual host to resolve our main External website www.abc.com ]
    For starters ok it worked we have our main website running Oracle Portal.
    Now is time to go to the step number 2.
    Setup another Page Group in Portal to be the Page_Group_INTERNAL.
    I figure if Apache can setup Virtual Hosts pointing to Independent parts of the File System without be shared. I was expecting some kind of custom configuration where I can setup httpd.conf to point to some specific PageGroups to make sure
    www.abc.com => Page_Group_External
    never share information with:
    intranet.com => Page_Gorup_Internal
    My TAR was very quick closed with the Argument that is not what It supposed to do.
    Since a virtual host is a common thing to do on Linux and Apache, I wonder if You guys could list this as one of the default features to have multiple virtual domains assosiated with Page Groups that they never talk or share Resources I think that would be really great.
    In the mean time I guess we have no option but to put a password for every internal page or take the risk of share our Information to the Internet. Perhaps designate another box with Oracle Portal but In that case Is not really cost/bennefit to use a killer technology for our external site since we just have no more than 30 pages.
    Anyway just figure drop you guys a note any advise will be really appreciated.
    Best Regards Dino.

    Hi Martin,
    1. To change the target URL of KM resources you can to the following:
    Access the URL Generation Service Configuration by navigating to:
    System Administration -> System Configuration -> Knowledge Management -> Configuration
    Content Management -> Global Services -> URL Generator Service
    Change the Host property to "portal.company.com".
    2. You change the Port by opening the Visual Administrator and going to : Dispatcher -> Services -> HTTP Provider
    Change there the "Ports" entry from (Port:50000,Type:http)to (Port:80,Type:http). Then go on "Save".
    3. To remove the "/irj" from the portal URL you can create a index.jsp with the following content, and save it in the J2EE Documentation folder:
    <Drive>:\usr\sap\<SAPSID>\JC<J2EE_instance_number>\j2ee\cluster\server0\apps\sap.com\com.sap.engine.docs.examples\servlet_jsp\_default\root
    <%
    //Send the redirect using server redirection (not client script)
    //This will also send the HTTP GET parameters
    String queryString = request.getQueryString() ;
    if (queryString==null ) {
    response.sendRedirect
    ("irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default") ;
    } else {//redirect with HTTP GET parameters
    response.sendRedirect
    ("irj/servlet/prt/portal/prtroot/com.sap.portal.navigation.portallauncher.default?" + queryString) ;
    %>
    Hope this helps,
    Robert

  • WAS and multiple virtual Host

    I am currently evaluating Oracle WAS on Linux.
    It works fine except if I try to have Spyglass serve more than
    one virtual host. When I do this it stops with an Internal error
    after serving a few files.
    Q. Does anyone have Spyglass serving for more than one virtual
    host on the same port.
    Q. What could be the problem
    I use RH 5.1
    Johnny Verhoeven
    null

    Web is stupidly easy - Apache has extensive support for multiple virtual hosts in a single server and will happily support as many domains/hostnames as you can throw at it.
    Mail is a little trickier since it needs to hook into some kind of directory server to validate user addresses.
    Mac OS X's Open Directory does support this, but it's a little cumbersome (basically every user has to exist in the main Open Directory domain as well as having a secondary email address(es) in the other domain(s).
    This can get especially tricky when you have users with the same shortname in different domains - for example if you give [email protected] a secondary email address of [email protected] and you then get a new user [email protected], you can't give the third 'joe' the address 'joe' in Open Directory since that's already taken. This means he'll have to login using different credentials from his email address. Confused yet? You bet.
    If you're prepared to eschew Open Directory you can just use Postfix's built-in support for virtual hosting, but it's a little more complex to setup and support and is entirely command-line based (i.e. there's no GUI for setting it up or supporting it).
    So, for that reason you might be prepared to setup multiple virtual machines for each domain. It really depends on how much the domains are related (if at all).

  • Multiple virtual host impacting performance

    Is there a performance issue with relation to the number of virtual hosts
    which one server is hosting? If there is, how many can an average server
    handle before one would see a performance hit?
    Thank you.

    Web is stupidly easy - Apache has extensive support for multiple virtual hosts in a single server and will happily support as many domains/hostnames as you can throw at it.
    Mail is a little trickier since it needs to hook into some kind of directory server to validate user addresses.
    Mac OS X's Open Directory does support this, but it's a little cumbersome (basically every user has to exist in the main Open Directory domain as well as having a secondary email address(es) in the other domain(s).
    This can get especially tricky when you have users with the same shortname in different domains - for example if you give [email protected] a secondary email address of [email protected] and you then get a new user [email protected], you can't give the third 'joe' the address 'joe' in Open Directory since that's already taken. This means he'll have to login using different credentials from his email address. Confused yet? You bet.
    If you're prepared to eschew Open Directory you can just use Postfix's built-in support for virtual hosting, but it's a little more complex to setup and support and is entirely command-line based (i.e. there's no GUI for setting it up or supporting it).
    So, for that reason you might be prepared to setup multiple virtual machines for each domain. It really depends on how much the domains are related (if at all).

  • Virtual Hosts vs Localhost

    OK, I'm on about step #13 of Apple's virtual hosts enabling obstacle course, and I'm still confused. I've modified the httpd.conf, hosts and NetInfo files, and I can now preview the home page of ONE of my virtual host sites. The problem is that I see the page whether I type in http://localhost/, http://Geobop/, http://GW/ or http://GS/. It should preview only at http://Geobop/.
    I rediscovered the article Enabling Virtual Hosts on MacOS X at http://www.evolt.org/article/EnablingVirtual_Hosts_on_MacOSX/18/13138/
    and added a script to my httpd.conf file, as follows:
    # Leave this one alone - it makes sure that localhost works.
    <VirtualHost 127.0.0.1>
    DocumentRoot /Library/WebServer/Documents
    ServerName localhost
    </VirtualHost>
    #<VirtualHost 127.0.0.1:80>
    # ServerName geobop
    # ServerAdmin [email protected]
    # DocumentRoot /Users/MYNAME/Sites/Geobop
    #</VirtualHost>
    If I understand correctly, this is supposed to make http://localhost/ display something unique, rather than a local website. However, all the URL's I cited above still display the same thing...but this time around they display blank pages with columns of numerals along the left margin.
    In an earlier experiment, I deleted all my virtual hosts from httpd.conf. Then all these URL's displayed the following:
    Index of /
    Name Last modified Size Description
    [DIR] Parent Directory 13-Mar-2007 15:49 -
    [ ] index.php 06-Oct-2006 15:36 1k
    [ ] php5.fcgi 06-Oct-2006 18:18 1k
    [ ] phpMyAdmin-2.9.0.2.tar 06-Oct-2006 17:44 11.4M
    [ ] phpinfo.php 06-Oct-2006 15:20 1k
    [ ] phpinfo.php5 06-Oct-2006 18:20 1k
    Apache/1.3.33 Server at localhost Port 80
    Can someone tell me what's going on and how to fix it. This process was three times easier on my PC, though I hate Microsoft.
    Thanks.

    Thanks for your explainations but it keeps frustrating me. I'll try to give an exact overview to my settings and my tries to implement your suggestions:
    Computer name: MacBook Pro
    Host: server.local
    Wi-Fi: 192.168.178.100 (static, as I said no DHCP)
    DNS-Settings:
    Forwarding Servers: 192.168.178.100
    Perform lookups for only some clients: "The server itself" and "Clients on the local network"
    Host name: server.local
    IP address: 192.168.178.100
    (no aliases)
    automatically created after setting this host name:
         Primary zone: server.local
         Machine: zone: server.local, host name: server.local, IP address: 192.168.178.100
         Nameserver: zone: server.local, Name-server: server.local
    Now I create a new host:
    Host name: thenewwebsite.site
    IP address: 192.168.178.100
    (no aliases)
    automatically created after setting this host name:
         Primary zone: thenewwebsite.site
         Machine: zone: thenewwebsite.site, host name: thenewwebsite.site, IP address: 192.168.178.100
         Nameserver: zone: thenewwebsite.site, Name-server: thenewwebsite.site
    Now going to "Web" service:
    hit the [+] button
    domain-name: thenewwebsite.site
    --> and it gives me the red bullet again saying it could not resolve this and trying to load "thenewwebsite.site" from the browser consequently fails.
    I also tried to set the machine-zone and the nameserver-zone for the thenewwebsite.site host to server.local - didn't changed anything, loading "thenewwebsite.site" fails.
    Designed in California, designed to make ist easier ??? huu ???

  • Corrupted wiki list with multiple virtual host

    Hello,
    I have several virtual hosts and I want each of them to only list of wikis which are associated with them using the Wiki Admin Settings -> Advanced : Specific Host Names.
    This does not seem to work. As soon as a wiki is associated to a specific virtual host it disappears from the list of wiki (http://hostname/groups/) (on all virtual hosts actually). The wiki itself can still be accessed by its explicit address: http:/hostname/groups/wikiname
    If I manually edit the sql3 file directoryIndex.db in /Library/Application Support/Apple/WikiServer
    and replace the specific host name by "*", the wiki reappears in the wiki list but on ALL virtual host. Still it remains accessible only in the one designated in the wiki Settings.
    Most frustrating. Any workaround ? Seems like a bug but the wiki implementation being so convoluted I am not completely sure.
    Any help ?
    Thanks
    Paul

    Hi,
    Seems to work on my test ASA
    Attached it to my current LAN interface.
    ASA(config)# packet-tracer input LAN tcp 10.2.11.1 12345 64.156.192.154 80
    Phase: 1
    Type: ROUTE-LOOKUP
    Subtype: input
    Result: ALLOW
    Config:
    Additional Information:
    in   0.0.0.0         0.0.0.0         WAN
    Phase: 2
    Type: ACCESS-LIST
    Subtype: log
    Result: ALLOW
    Config:
    access-group outbound_access in interface LAN
    access-list outbound_access extended permit object-group obj_Meraki_outbound object-group obj_Meraki_lan object-group obj_Meraki_pub
    object-group service obj_Meraki_outbound
    service-object tcp destination eq https
    service-object tcp destination eq www
    service-object tcp destination eq 7734
    service-object tcp destination eq 7752
    service-object udp destination eq 7351
    object-group network obj_Meraki_lan
    network-object 10.2.11.0 255.255.255.240
    network-object 10.5.11.0 255.255.255.240
    object-group network obj_Meraki_pub
    description: This group lists all hosts associated with Meraki.
    network-object host 64.156.192.154
    network-object host 64.62.142.12
    network-object host 64.62.142.2
    network-object host 74.50.51.16
    network-object host 74.50.56.218
    Additional Information:
    access-list outbound_access line 1 extended permit tcp 10.2.11.0 255.255.255.240 host 64.156.192.154 eq www (hitcnt=1) 0x4d812691
    Also have used such configuration in some special cases where the customer has insisted on allow specific TCP/UDP ports between multiple networks. And nothing is stopping from adding ICMP into the "object-group service" also.
    - Jouni

  • Creating multiple mailboxes on Exchange 2007 fails

    Hi All,
    We have a problem to create multiple mailboxes simultaneously on Exchange 2007 using the OIM Exchange connector. Only one of the mailboxes is created when multiple powershell scripts are launched at the same time. This problem only occurs in the production environment and not on the Exchange 2007 test server. Therefore it's likely to be an Exchange 2007 server setting causing the other powershell processes and mailboxes to fail. Has anyone else experienced this problem?
    Thanks,
    Albin

    hi.
    have you managed to solve this issue? we have a similar problem when updating some exchange mailbox variables through powershell cmds via OIM. if we run several cmds simultaneously, or right after each other, only the first one is run. tried googling it, but no luck so far.
    thanks,
    tinba

  • Should I be able to access virtual host via localhost/site path?

    I finally have been able to successfully set up a virtual host on my local host.
    I can access http://localhost which redirects me to the http://localhost/xampp page and I can access my local site with http://nif.local/. I thought I had read that I should still be able to access my local nif site via http://localhost/nif.local. Is that correct? If so, what should I check since I get a 404 error via the second way? I just want to make sure everything is set up correctly.
    Thank you.

    Now sorted;-).  Can disable Siri in settings for when phone is locked. Why is this not default?

  • How to configure multiple virtual hosts for the same context root /

    Hi,
    I am using Glassfish V1 U1 - b14 on Solaris.
    I am trying to configure two applications to be mapped to the / root context, each one in its own virtual host.
    Two things I have noticed:
    1. I have to manually add virtual-hosts="hostId" in domain.xml/application-ref ... looks like just simply deploying the app does not do that although the application is set as default for its particular virtual host. Is this a bug?
    2. Although I have set for each virtual host the default web-app correctly, and they both respond fine, I cannot map both of them to the / context. The second application (chronologically deployed) does not respond when called with the / context ....
    Any ideas? Is this a bug again?
    Regards,
    Rares
    Message was edited by:
    raresp

    Wow, that's a shame. All mighty Application Server and two different apps on two different virtual hosts are considered ambiguous to have the same context root definition.... Fair play to Tomcat and 90% of the rest of servlet containers!
    In my case I have the same EAR we are planning to deploy to many (up to 30) virtual hosts. Faking different context roots for each deployment will bring unnecessary overheads...
    Should I file a bug or feature request?
    Thanks again for your answer, although you're basically saying it is not possible I will wait and look a while for a possible solution before bringing this topic to a conclusion.

  • OAM Webgate installation on APache with multiple Virtual hosts?

    Hi I have customer who is having One Single APache web server and having two different applications configured as different Virutal hosts in the single server.
    requirement is , Each application should be protected by OAM Webgate and each application have seperate session configurations. So, How can we handle this ..
    I am thinking to install webgate for each application virutal Host to fulfill this requirement but i am worrying about the Webgate installation since both applications on single Apache server and single httpd.conf file.
    Really appreciated if anyone suggest me the approach of how to fulfil this requirement.
    -Srini
    Edited by: user567398 on Jun 17, 2011 3:00 PM

    Hi Srini,
    You can use a single WebGate - in the "Preferred HTTP Host" setting for the WebGate in the Access System Console, specify SERVER_NAME. OAM will then use the name of the Virtual Host (as returned by Apache) when evaluating policies, and you can have different policies by having different Host Identifiers for the two (or more) virtual hosts.
    Regards,
    Colin

  • How to create and access a Virtual Host on the J2EE WAS?

    Hello, I have searched through the Forums and help.sap.com and found a lot of information on how to set up a Virtual Host on the J2EE server but am having issues with it working.
    The goal is to provide a simple virtual host on the J2EE Portal server to host some static image and HTML files. Previously I had stored these files in the standard publicly accessible SAP J2EE folder location /usr/sap/<SID>/JCxx/j2ee/cluster/serverx/apps/sap.com/com.sap.engine.docs.examples/servlet_jsp/_default/root/. This location is resolved to when using the URL <host>:50000 for example.
    The main issue here is that during Portal support pack applications this folder gets wiped out and we have to remember to save off any custom files and folders in this location and replace them.
    I would like to create a virtual host to store these static files (i.e., branding-image.jpg, etc...).
    I have run through the process of creating the virtual host both using Visual Administrator and <host>:50000/nwa but am not able to get the virtual host name to resolve properly.
    The following are the steps that I have taken. Let's assume the standard SAP portal (i.e., xSS, etc...) is running properly on <host>:50000.
    1. create virtual host via Visual Administrator/NWA called 'sapwebserver1' by using the Create Host option (takes on the attributes of the 'default' standard virtual host)
    2. change the root directory for this virtual server to a custom folder at E:/tmp/mimes (where E:/usr is where the J2EE files are all installed), no start files were set up and nothing else was changed in the new virtual host record, no permissions were changed on the /tmp/mimes folder from whatever the default Windows user permissions are normally set, I am using a local Windows  administrator account but I have not seen any reference in the help files or the examples that indicate that any specific permissions updates need to be made on the virtual host root folder
    3. restarted the J2EE server as well as the HTTP Provider service
    4. before updating the company DNS, I wanted to test this locally on the server and so have updated the server's local HOSTS file with a <host IP address>   sapwebserver1 entry
    5. from that server I can ping the sapwebserver1 virtual host name and it resolves properly to the machine's physical IP address
    According to all of the documentation and examples I have seen I should now be able to (from that server) launch a browser and access the static files in the virtual host by referring to http://sapwebserver1:50000/branding-image.jpg for example. This is not working and the browser just brings up a Cannot display the web page error in IE. By referring to the virtual host name sapwebserver1:50000 it's supposed to hit the J2EE server and based on the host name sapwebserver1 realize that it should resolve to the root directory E:/tmp/mimes. This is not happening. Just as a test I have created a copy of the 'default' virtual host and called it sapwebserver2, updated the local HOSTS file for this entry, and tried to see if that would work like the 'default' host. My expectation was that http://sapwebserver2:50000 would behave the same was as http://<host>:50000 but it too fails to resolve just like the sapwebserver1 virtual host refernce.
    Would anyone happen to have any pointers on what to do next? I just want a simple virtual host to be able to serve up some static images and files.
    Thanks for any insight or assistance you might be able to provide here.
    Graham

    This defeats the purpose of trying to centralize SAP-related web resources on the SAP server. Typically IIS/Apache or other non-SAP servers are under the control of IT and not the SAP BASIS group.
    We simply would like to have a centralized location to store static web files so that they are not overwritten during Portal support pack applications.

  • How to confiture virtual hosts with multiple domain names

    hello,
    I've read through some of the postings here on virtual hosts, but I thought I'd better solicit advice before I actually try some of the things I've read about.
    In a nutshell, I've purchased multiple domain names that I'd like to alias to a new site (currently it is just a subfolder in the main site directory) on my OS 10.3.x server. There is only the one main site configured right now on the box, so I know I need to set up a second "virtual site" pointing to the files in this subfolder to make it function as its own site.
    I've dabbled around with the sites settings in the GUI, but I'd probably be most comfortable setting all this up in the httpd.conf by hand if I could. But I'm weary of this because I know it might be better to use the GUI because of OS X Server's flavor of WebObjects and Apache (sigh).
    So, I have two main questions:
    1) How would I set up this second site using the GUI in server settings? Do I need to first move the subfolder out of the main folder before it can be designated its own site? Or can I just point to it in the GUI? Can I use one of my purchased domain names in the domain field?
    2) Currently, I have URL Forwarding set with my multiple domain names, but I'm thinking there might be a better way to do this? For SEO I'd rather use some type of redirect rather than being penalized by search engines for having what looks to be multiple domains pointing to the same site.I'm thinking I should create virtual sites for each domain name I've purchased with a hard redirect back to the main site?
    Any suggestions would be appreciated.
    Thanks
    G4 Mac OS X (10.3.9) 10.3.9 Server
    G4 Mac OS X (10.3.9) 10.3.9 Server

    thank you for your reply.
    > You can create each site as a new Site in Server
    Admin. When you do this you can choose any
    directory on disk as the document root for each
    site.This means you can move the sites' folders out of
    /Library/WebServer/Documents if you like - you could
    create /Library/WebServer/site1,
    /Library/WebServer/site2, etc. (or even be outside of
    /Library/WebServer if you want).
    so, are you are saying that I could designate one site to be
    /Library/WebServer/Documents/site1
    and another to be
    /Library/WebServer/Documents/site1/directory1
    even though directory1 is contained within site1's structure? I'm not advancing this as a good idea, necessarily. I'm just wondering if Apache would complain.
    > Each site should have the domain name set as per your
    registered domains. Apache will need this to
    determine the correct site to serve for each
    request.
    Well, after some additional research I'm thinking I'm missing a critical piece of the puzzle. That being access to the DNS host server that manages the context of my server. I have purchased domain names through an outside registrar that point to my site and I can create virtual hosts on my server, but I don't have the ability to add the new virtual host names into the DNS server that manages my box. If that makes sense. Or maybe I'm missing something?
    >
    I'm not sure why you're using URL forwarding at all.
    Without that piece of information it's impossible to
    tell you whether you should continue using them or
    not - in general there's no need to use URL
    forwarding if you have multiple Virtual Hosts setup,
    but it sounds like you have multiple hostnames
    pointing to the same content, so your needs may be
    different.
    I'm using forwarding for the reason I list above. I didn't purchase hosting with the registrar where I purchased my domain names, so they are parked on the registrar's name server with URL forwarding to my server. The DNS server that manages my box resides in a different location and I don't have the ability to add DNS entries pointing to virtual hosts that I want to set up. Am I stuck?
    G4 Mac OS X (10.3.9) 10.3.9 Server

  • Localhost/Virtual Host Blues

    I'm totally confused. I hired someone to help me set up Apache, PHP, MySQL, phpMyAdmin and virtual hosts on my MacBook Pro, but he and I both made some mistakes, and the results are a mess.
    Obviously, I need to go back to square one, and I think that means fixing "localhost," but I'm not sure how to do it. Anyway, I thought if I listed everything I've done so far, someone might spot the problem...
    First, I've placed all my websites and phpMyAdmin inside /Users/davidblomstrom/Sites
    I found phpMyAdmin's config.inc.php file and edited the $cfg line to this:
    $cfg['PmaAbsoluteUri'] = 'http://Users/davidblomstrom/Sites/phpMyAdmin/';
    I logged two websites (Geobop and GW) and phpMyAdmin into NetInfo and created the following virtual hosts in httpd.conf:
    <VirtualHost 127.0.0.1:80>
    ServerName geobop
    ServerAdmin [email protected]
    DocumentRoot /Users/davidblomstrom/Sites/Geobop
    </VirtualHost>
    <VirtualHost 127.0.0.1:80>
    ServerName phpMyAdmin
    ServerAdmin [email protected]
    DocumentRoot /Users/davidblomstrom/Sites/phpMyAdmin
    </VirtualHost>
    <VirtualHost 127.0.0.1:80>
    ServerName gw
    ServerAlias gw *.gw
    DocumentRoot /Users/davidblomstrom/Sites/GW
    </VirtualHost>
    At least one of my virtual hosts was working, as it displayed my website Geobop. Unfortunately, I had put that website in the wrong location. Now that it's in the right location, it doesn't work.
    When I type in http://localhost, it asks me for a username and password, but it won't accept anything I type in.
    When I type in http://Geobop, it says "Looking up users," then displays phpMyAdmin's home page (minus images). When I try to display a database, it defaults to some online website.
    When I type in http://GW (my second website I've created a virtual host for), I'm prompted for a User Name and Password, with this message: "Enter username and password for 'phpMyAdmin running on localhost' at http://gw."
    So, again, it appears to me that I need to go back to square one and make http://localhost display whatever it's supposed to display. I also appears that phpMyAdmin has somehow become confused with my websites.
    Ironically, this is probably the first issue I've discovered that was actually easier to deal with on my PC.
    Thanks.

    I'm totally confused. I hired someone to help me set up Apache, PHP, MySQL, phpMyAdmin and virtual hosts on my MacBook Pro, but he and I both made some mistakes, and the results are a mess.
    Obviously, I need to go back to square one, and I think that means fixing "localhost," but I'm not sure how to do it. Anyway, I thought if I listed everything I've done so far, someone might spot the problem...
    First, I've placed all my websites and phpMyAdmin inside /Users/davidblomstrom/Sites
    I found phpMyAdmin's config.inc.php file and edited the $cfg line to this:
    $cfg['PmaAbsoluteUri'] = 'http://Users/davidblomstrom/Sites/phpMyAdmin/';
    I logged two websites (Geobop and GW) and phpMyAdmin into NetInfo and created the following virtual hosts in httpd.conf:
    <VirtualHost 127.0.0.1:80>
    ServerName geobop
    ServerAdmin [email protected]
    DocumentRoot /Users/davidblomstrom/Sites/Geobop
    </VirtualHost>
    <VirtualHost 127.0.0.1:80>
    ServerName phpMyAdmin
    ServerAdmin [email protected]
    DocumentRoot /Users/davidblomstrom/Sites/phpMyAdmin
    </VirtualHost>
    <VirtualHost 127.0.0.1:80>
    ServerName gw
    ServerAlias gw *.gw
    DocumentRoot /Users/davidblomstrom/Sites/GW
    </VirtualHost>
    At least one of my virtual hosts was working, as it displayed my website Geobop. Unfortunately, I had put that website in the wrong location. Now that it's in the right location, it doesn't work.
    When I type in http://localhost, it asks me for a username and password, but it won't accept anything I type in.
    When I type in http://Geobop, it says "Looking up users," then displays phpMyAdmin's home page (minus images). When I try to display a database, it defaults to some online website.
    When I type in http://GW (my second website I've created a virtual host for), I'm prompted for a User Name and Password, with this message: "Enter username and password for 'phpMyAdmin running on localhost' at http://gw."
    So, again, it appears to me that I need to go back to square one and make http://localhost display whatever it's supposed to display. I also appears that phpMyAdmin has somehow become confused with my websites.
    Ironically, this is probably the first issue I've discovered that was actually easier to deal with on my PC.
    Thanks.

  • PlsqlCGIEnvironmentList for multiple apache virtual host

    a question that's still related to the following thread
    APEX Charts - Error XML Loading falied
    APEX Charts - Error XML Loading falied
    Hi,
    I have multiple apache virtual host for my apex instance. I have trouble loading the flash chart in my virtual hosts.
    I followed the instruction on the above link, it works.
    PlsqlCGIEnvironmentList HTTP_HOST=<my friendly URL>:80
    My question is what if I have multiple virtual hosts?
    Has anyone done this before?
    Thanks.
    -Joel

    Hi Jari,
    You mean these parameter
    PlsqlCGIEnvironmentList SERVER_NAME=external.server.com
    PlsqlCGIEnvironmentList SERVER_PORT=80
    How are those different from HTTP_HOST and what if I have multiple host (virtual)?
    Cheers,
    -Joel

  • Built-in cf server - creating virtual host

    Hi
    I'm using the built-in coldfusion server developer edition on
    linux - am I able to create a virtual host? I've only found
    information relating to apache so far
    Many thanks
    Dave

    what do you mean by a virtual host? use the built in
    webserver it works on windows

Maybe you are looking for

  • Updating a biar file - database connection

    Hi, I would like to know if there is a way of doing the following: I have a biar file that was exported from a universe that I don't have access anymore. This original biar file doesn't have database connections set. I am not able to connect directly

  • Is it possible to creat a Photo Gallery on CD/DVD with downloadable content

    I am looking for a way to create a photo gallery, distribute it via CD or DVD, and have the end user be able to download the photos in the gallery from within the photo gallery. This would function exactly like the iPhoto web galleries, but would be

  • Just got new 23" Apple displays and I love them

    Hi, I just had to post that I have updated to new dual 23" apple displays and they are awesome! So if you are thinking of updating and can afford it then I would HIGHLY recommend updating. I can't believe that I lived without them.

  • Print with SmartForms

    Hello I'm trying to print a SmartForm. I've got a function module from which i want to call the form. The functions I use are these here:   control_parameters-no_dialog = 'X'.   control_parameters-device = 'PRINTER'.   control_parameters-langu = 'E'.

  • Recording a video conference

    Hi all, I need to record a video conference and cannot find any help on this. Is this possible using the pre-installed apps (like video chat) or is there an another app that does this. Alternatively is there a secure web based application that can re