Welcome Guest. Please Login or Register  


You are here: Index > AMPPS > General Support > Topic : link 127.0.0.1



Threaded Mode | Print  

 link 127.0.0.1, link not working (10 Replies, Read 5669 times)
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
If I manage domains I get

127.0.0.1    -->  /Applications/AMPPS/www    --> Primary
test      --> /Applications/AMPPS/www/test --> Addon

If I click on test the link is wrong  http://test  it should be http://127.0.0.1/test

how can I change it in the config ?

thank you
IP: --   

link 127.0.0.1
valley
Group: Webuzo Team
Post Group: Super Member
Posts: 1644
Status:
Hi,

Sir the domain are accessible directly i.e  http://test and not  http://127.0.0.1/test

To have a URL as http://127.0.0.1/test, you need not create a domain.
Simply add the contents to /Applications/AMPPS/www/test and you are all set to go.

Alternately, you will have to redirect the domains to get the URL as per your requirements.

-----------------------
Webuzo : Single User Control Panel
Join Webuzo :
Facebook
Twitter

IP: --   

link 127.0.0.1
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I have added a new domain test  and the url  http://test  is not working
only http://127.0.0.1/test  is working  the manage domain in my case create wrong links
IP: --   

link 127.0.0.1
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
I mean accessible directly is not accessible directly
IP: --   

link 127.0.0.1
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
why isn't it possible to edit posts on the forum ?

http://test  is not accessible directly
IP: --   

link 127.0.0.1
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

While creating domains did you add an entry to the host file?

if not then check the "Advance Settings" option.
After adding an entry to the host file, it should work as desired.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

link 127.0.0.1
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
sorry but no idea where are the advanced setting and why it doesn't work alone when  you add a domain
IP: --   

link 127.0.0.1
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

The "Advance Settings" option is on the same page where you create domains. There is a down arrow button besides "Advance Settings", click on it, there you will see a check box named "Add an entry to Host File", check it, now an entry for your domain will be added to the host file.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

link 127.0.0.1
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
ok I got it

then it is impossible when a domain is already  created to Add an entry to Host File ?

is there a way to find and edit that host file manually ?

thank you
IP: --   

link 127.0.0.1
ketan
Group: Member
Post Group: Working Member
Posts: 241
Status:
Hi,

Run the following command in terminal,
sudo nano /etc/hosts

you will need to type in your password. Your hosts file will open in the text editor nano.

Now add the entry for your domain,
for eg:
127.0.0.1    domain1

Also you can delete that domain from the "Manage Domains" page and again create that domain with the host entry.

-----------------------
Follow AMPPS on,
Twitter
Facebook
Google+
IP: --   

link 127.0.0.1
erickb
Group: Member
Post Group: Working Member
Posts: 102
Status:
thank you
IP: --   

« Previous    Next »

Threaded Mode | Print  



Jump To :


Users viewing this topic
1 guests, 0 users.


All times are GMT. The time now is May 25, 2024, 8:05 pm.

  Powered By AEF 1.0.8 © 2007-2008 Electron Inc.Queries: 10  |  Page Created In:0.025