I can not edit nameservers to my servers ip.
You don't have to edit the nameservers for your ISP or company.
by definition, your domain has its OWN nameserver! I hope you read that explanation of DNS (I don't think you did).
BUT - mostly your problem is this:
You have a corrupt zone file.C:\Documents and Settings\jon>nslookup beautyflair.gr
*** Can't find server name for address 192.168.0.1: Non-existent domain
Server: aslan.ij.net
Address: 207.22.166.2
*** aslan.ij.net can't find beautyflair.gr: Server failed
Internic:
http://www.whois.net/whois/beautyflair.grWHOIS information for beautyflair.gr :
Error: Malformed requestDomain Name
.GR Domain Names check
https://grweb.ics.forth.gr/Whois?lang=enDomain Name: beautyflair
Availability: Invalid Syntax.
Details: Domain Name:beautyflair.gr
Domain Handle:d6e49eef6dcb6471ab389e07cada7a7df-gr
Protocol Number:1287634
Creation Date:20-5-2008
Expiration Date:19-5-2012
Updated Date:12-7-2010
Registrar:Angellight
Registrar Referral URL:http://www.aws.gr
Registrar Referral Email:domains@aws.gr
Whois Server:
Bundle Name:beautyflair.gr
Name Server:ns.softgr.com
My final move were to put as dns server in domain name the ip address of my router which have as dmz host my server
Your name server (according to your zonefile) is
ns.softgr.com. That is where you would enter the IP of either your router or your server, depending on how you have set things up. That is for you and your Domain Registrar to fix. Which is why I suggest you Google DNS Zone Management in the best language choice for yourself.
Your problem is that you don't understand DNS. If you have a router (very likely) it will need to be configured for port forwarding on Port 80 or a DMZ will be needed. The A record for the primary host in your nameserver needs to be the
external IP address of your server (it is almost certainly the WAN address of the router). Use this tool.
http://www.ipchicken.com/This part is not an XAMPP issue, its a basic how do networks, routers and the Internet work??? question.
What I said in my last post is still true, you will need a host name to qualify the vhost on that machine.
- Code: Select all
(you should make the ServerName www.beautyflair.gr and do the same for the A record in the nameserver).
The matter of not nesting vhosts won't keep things from working, but it is a BAD idea, and you would not want to keep that concept when you do things. It will certainly lead to errors and security problems if you create .htaccess files.
I have pointed out to you the errors in configuring Apache, whether you acknowledge them or not, they are still problems that may prevent things from working.
At this point there is little more I can offer you.
Good Luck.