Jump to content

Recommended Posts

Hello , I am really desperate since i can't set up my server and don't really know what's wrong.

 

I use zoneedit got dynamic dns which is correctly updated, and my apachge listen to port 80.

 

my apache vhosts file is :

 

NameVirtualHost *:80

 

<VirtualHost *:80>

ServerAdmin info@adultsmatches.com

DocumentRoot c:/wamp/www

ServerName adultsmatches.com

ServerAlias www.adultsmatches.com

ErrorLog c:/wamp/logs/error.log

CustomLog c:/wamp/logs/access.log common

</VirtualHost>

 

 

my hosts file look like :

127.0.0.1 localhost

127.0.0.1 adultsmatches.com

 

and have forward 80 port to my ip.

 

MY isp surely doesn't block incoming 80 traffic.

 

Apache seems to go correctly online but when i try to access my site from outside my network it redirects to localhost instead of www.adultsmatches.com

 

 

Can pls someone tell me if something is wrong?

 

many thanks in advance

Link to comment
https://forums.phpfreaks.com/topic/90122-pls-some-help-with-apavheplssss/
Share on other sites

Firstly you will need to make sure that your DNS settings are correct, as in your A records are setup correctly, and then make sure you have a CNAME record for www.adultsmatch.com to point to your A record of adultsmatch.com

 

Just ran a check on your domain and found that you have missed this CNAME record.  I believe your A record should be fine, so if you just type in adultsmatch.com it should be fine.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.