Page 1 of 2 12 LastLast
Results 1 to 10 of 12
  1. #1

    Default change localhost or ipaddress when accessing intranet website in xampp


    Hi guys, I'm new in php, nag.create ko ug website using xampp, ako problem kay dli ko kabalo asa dapit i.setup sa xampp if other computers mu.access sa ako site na dli na ang ip address ila i.type. for example ako ip address is \\192.168.50.xx, gusto ko na name sa site ako ila i.type sa browser like mysite.net or mysite.com. intranet ra ni cya. nagtry ko sa mga advise sa net pero dli man mu work. thanks kaayo.
    Last edited by popoyjin; 01-07-2013 at 11:08 AM. Reason: update

  2. #2
    Bro, na try nmo e edit ang hosts file din bind ang address ex. 127.0.0.1 mysite.com 192.168.50..xx mysite.com

    kung dli mo work try daw ni: VirtualHost Examples - Apache HTTP Server

  3. #3
    Kung mg intranet ka bosing then imong mga kauban imong pa accesson sa imong http server then kinahanlan ka ug dns server i manual ug entry sa dns server like mysite.com 192.168.50.xx kay kung mgedit ka sa hosts nga file sa desktop nga moaccess sa imong intranet http server imong i edit ang tanang mga host file sa mga desktops sa imong intranet para lng mka gamit sa imong gusto nga domain like mysite.com or mysite.net


    pero ok ra pud kung gamay ra mo access sa imong http server .. like less than 5 then pwd ra pud i edit ang file named "hosts" sa system32 kaysa mg setup pa ka ug dns server hasol nah...

  4. #4

    Default host

    Quote Originally Posted by ondoy View Post
    Bro, na try nmo e edit ang hosts file din bind ang address ex. 127.0.0.1 mysite.com 192.168.50..xx mysite.com

    kung dli mo work try daw ni: VirtualHost Examples - Apache HTTP Server
    ako na nah try sa host file boss ondoy pero dli man ghapun mo work, dli kaha ni sa firewall, naka enabled man gud, wla koy rights, ako nah testingan nah kana ikaduha nmu na g.suggest. thanks kaayo.

  5. #5
    Quote Originally Posted by jhappy View Post
    Kung mg intranet ka bosing then imong mga kauban imong pa accesson sa imong http server then kinahanlan ka ug dns server i manual ug entry sa dns server like mysite.com 192.168.50.xx kay kung mgedit ka sa hosts nga file sa desktop nga moaccess sa imong intranet http server imong i edit ang tanang mga host file sa mga desktops sa imong intranet para lng mka gamit sa imong gusto nga domain like mysite.com or mysite.net



    pero ok ra pud kung gamay ra mo access sa imong http server .. like less than 5 then pwd ra pud i edit ang file named "hosts" sa system32 kaysa mg setup pa ka ug dns server hasol nah...
    murag hassle diay kung sa host file bro, pero ako i.try to suggest ni ondoy. salamatz.

  6. #6
    Elite Member noy.juan's Avatar
    Join Date
    Mar 2010
    Gender
    Male
    Posts
    1,521
    Blog Entries
    1
    unless you have control sa network server ninyo, i think its called port forwarding not sure ha... never tried paman sad... wala paman sad na approve ako request regarding ana nga setup.... you need to modify the host file of all the computer you want to access through virtual domain name, then you need to setup the vhost properly pud.... mao ni ako setup diri sa office para maa acces and dev server nako sa amo mga kauban

  7. #7
    Nka try ko anang port forwarding bro before ko niresign sa akong gtrabahoan, akong gigamit nga domain is uni.me: http://wci.uni.me/ check lng.
    Wla nlng koy control sa localhost nako kay wla nman ko nag work didto gd. Hasol jd nuon sa imong side ang pagconfigure.

    If off ang system dli jd ka kaconnect.

  8. #8
    naa ko simple solution ani pero this is just a theory hehe never tried it yet but it might work. Try to rename your Computer name to what ever name you like ending with a .com or .net. For example mycomputer.com or nameofmypc.net. Then if you have access to your networks router, add a rule nga if mo access sila sa mycomputer.com or nameofmypc.net ky e reroute pdung sa imo pc instead padung gawas sa internet. Make sure this goes under in 1 domain lng.

    using your computer name instead of the IP address should work under the same domain and/or intranet. Also I'm not sure if you can put a .com or .net in as your PC name.

    But instead if you're only using it internally. Why not just use your computer name instead? Kana wla nay hasul og set-up2x ug unsa pa dha or change any configuration.

  9. #9
    Elite Member noy.juan's Avatar
    Join Date
    Mar 2010
    Gender
    Male
    Posts
    1,521
    Blog Entries
    1
    Quote Originally Posted by mrrob2001 View Post
    naa ko simple solution ani pero this is just a theory hehe never tried it yet but it might work. Try to rename your Computer name to what ever name you like ending with a .com or .net. For example mycomputer.com or nameofmypc.net. Then if you have access to your networks router, add a rule nga if mo access sila sa mycomputer.com or nameofmypc.net ky e reroute pdung sa imo pc instead padung gawas sa internet. Make sure this goes under in 1 domain lng.

    using your computer name instead of the IP address should work under the same domain and/or intranet. Also I'm not sure if you can put a .com or .net in as your PC name.

    But instead if you're only using it internally. Why not just use your computer name instead? Kana wla nay hasul og set-up2x ug unsa pa dha or change any configuration.
    tried this kind of setup before with windows 2000 and IIS server you can only host one site nga lang... ive tried LAMP with multiple virtual shared domain name all accessible through our network... thou editon pa ang ila host name...

  10. #10
    1. Pag setup ug static nga IP address sa imong pc bro, kinahanglan imong pc dli DHCP ang connection
    2. Login ka sa imong router under sa gaming or application or advance (depende pd ni sa imong model sa router) add imong personal nga Static IP sa imong computer.
    3. Grab your public IP using this links What is my IP , shows you your current IP number or http://ip-lookup.net/, makita nmu dha kung unsa imong public IP Address, then try ug type imong IP sa imong browser kung nigawas ba imong localhost nga server.
    4. Try ug sign-up ug mga free domains, adto ka sa Domain Properties/Settings then choose Zone Record. Type(A) ang imong content (Public IP Address).
    5. If dli mo work try ug check ang imong port bro kung open ba sya or giblock sa imong ISP. Open Port Check Tool

  11.    Advertisement

Page 1 of 2 12 LastLast

Similar Threads

 
  1. What to do or think when you're stuck in Traffic?
    By beyee in forum General Discussions
    Replies: 1173
    Last Post: 08-14-2019, 02:18 AM
  2. Replies: 7
    Last Post: 04-29-2011, 04:45 AM
  3. can't access facebook website
    By deadchest2 in forum Websites & Multimedia
    Replies: 4
    Last Post: 04-05-2010, 02:55 PM
  4. GLOBE Problem: Can't access my Website
    By josefarrugia in forum Networking & Internet
    Replies: 4
    Last Post: 02-22-2010, 10:12 PM
  5. Intranet Website Setup Using XAMPP - Kinsa Kabalo?
    By salbahis in forum Networking & Internet
    Replies: 7
    Last Post: 02-18-2010, 10:12 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
about us
We are the first Cebu Online Media.

iSTORYA.NET is Cebu's Biggest, Southern Philippines' Most Active, and the Philippines' Strongest Online Community!
follow us
#top