Page 1 of 1

permalink and xampp

PostPosted: 30. March 2016 12:07
by mugz
Hello I recently put up a website and got faced with an interesting issue. My website still mostly identifies as localhost even after I set my godaddy domain to point to my IP. so for example ( https://gyazo.com/5e4a85637b33762cebc1551883d7143e ) this is what my permalinks look like. and if i make a new page the beginning of my permalink still say localhost instead of my .info address. because of this other people cant access those pages. Is there anyway i can set my website to fully identify by my domain info so in my permalink for example it would say http://example.com instead of http://localhost. This is an example of a page permalink http://localhost/heechang/, as it is only i can access it but no one else can. I would like it to say http://example.com/heechang/. im running xampp on windows 10.

Re: permalink and xampp

PostPosted: 30. March 2016 12:31
by JJ_Tagy
Disclaimer: I recommend not putting your XAMPP site online without taking extra security precautions and configuration changes.

Did you edit your apache\conf\extras\httpd-vhosts.conf file?

Re: permalink and xampp

PostPosted: 30. March 2016 12:49
by mugz
I'm pretty new to this so I've only done the basics so far. Ia there anything you recommend me doing?

Re: permalink and xampp

PostPosted: 30. March 2016 13:26
by Altrea
Hi,

There is only one recommandation: XAMPP is not meant for live or public accessible environments.
If you want to go live with your webserver stack, search for a stack that is meant for production environments like EasyPHP Webserver (NOT Devserver)

best wishes,
Altrea

Re: permalink and xampp

PostPosted: 30. March 2016 14:17
by mugz
Would you happen to know any tutorial I can follow to setup easyphp for a live environment?

Re: permalink and xampp

PostPosted: 30. March 2016 14:18
by Altrea
We cannot provide any support for foreign software, sorry.

Re: permalink and xampp

PostPosted: 30. March 2016 14:22
by mugz
oh okay thank you

Re: permalink and xampp

PostPosted: 30. March 2016 14:38
by mugz
I'm having a hard time finding a guide for easyphp webserver, so I guess I'm sticking with xampp. Although it isn't meant for live hosting is there anyway to change my localhost issue or its stuck that way?

Re: permalink and xampp

PostPosted: 30. March 2016 16:59
by Altrea
There are always way to achieve this or that. Your issue is an application issue, so search for a migration tutorial for your specific application.
This is not an issue XAMPP can solve for you.

And again (last warning): If you use XAMPP in a public accessable environment, your application and data is not safe. There are ways to hijack public accessable xampp installations, which can result in data loss, integrating your server to a botnet to act as spam or DOS bot, etc.
There are other ways for unexperienced users to host a php application online like renting webspace.